|
PHP Include problem/question
Woah, havnt posted here in a while....
Ok, my problem;
I made a php Shoutbox from the tutorial here (works perfectly btw) but only if the code is placed within the page itself.
What i would like, is that i could just put a "php include" to call the php to run the shout box in the space rather than have the full code on that page.
Only thing i cant work out, is there any code which would allow the, say, shoutbox.php file to call the active page the viewer is on?
The shoutbox is on every page but ever time you hit enter/shout it calls refreshes to whatever link is in the code.
I hope that makes sense...
Couple of people want the code off me but it seems overly tricky to impliment if its not totally independent.
Thanks for any help!
__________________
x32Graphics.co.uk - Overdue for an upgrade.
|