using the forum _inside_ another php script [message #16050] |
Tue, 13 January 2004 01:18 |
|
hello-world
Messages: 47 Registered: December 2003
Karma:
|
Member |
|
|
Hi,
When trying to use fudforum as feedback mechanism, I tried calling the forum _inside_ another php
script.
something like.
readfile("http://" . $_SERVER["SERVER_NAME"] . "/forum/?t=tree&th=2");
This - quite unexpectedly - doesn't work. Actually, it works, but the user information gets lost
and it shows as anonymous. I guess the problem lies in setting up the cookies.
Could you tell me if there is a simple way out of this? Or do I need to go into detailed php cookie
handling?
I am not sending any output before the "readfile". In fact, if I replace "readfile" with a
redirection "header()", it works fine.
Thanks.
[Updated on: Tue, 13 January 2004 05:32] Report message to a moderator
|
|
|