include redirects

From: Date: Tue, 29 Jan 2002 11:51:15 +0000
Subject: include redirects
Groups: php.general 
Request: Send a blank email to php-general+get-82556@lists.php.net to get a copy of this message
Hi all, I have a problem with a redirect. I have a file that includes a content from another PHP script, parses the content as string with output buffering and displays it. The problem is that the include function doesn't seem to handle redirects. When that other PHP script makes a Header relocate the fopen from my initial file is lost and I get Warning fopen No such file or directory I get the same when I try include. Do you know a solution to insert remote content handling eventual redirects in the remote? Something like a browser. -- Regards, ---------------------------------------------- Calin Uioreanu calin@ciao-ag.com Tel: +49 - (0) 89 - 25 55 17 07 http://www.ciao.com München, Germany ----------------------------------------------

« previous php.general (#82556) next »