FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » using the forum _inside_ another php script
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
using the forum _inside_ another php script [message #16050] Tue, 13 January 2004 01:18 Go to previous message
hello-world is currently offline  hello-world   India
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

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Translation of QUOTE
Next Topic: Name instead of Login
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 13:33:26 GMT 2024

Total time taken to generate the page: 0.04641 seconds