Header redirection problem
Hi,
I have a somewhat annoying problem using the header function of PHP.
I am trying to redirect the user to a certain page (let's call it done.php) which is not in the same folder as the page which is doing the redirecting (let's call it working.php).
So basically I have the following setup:
/done.php
/temp/working.php
I use the following line to try to redirect:
header('Location: ../done.php);
However even the file does exist I get this back:
Warning: Unknown(/opt/apps/iplanet/webserver/docs/ifran/id.php): failed to open stream: No such file or directory in Unknown on line 0
Warning: (null)(): Failed opening '/opt/apps/iplanet/webserver/docs/ifran/id.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0
NOTICE the id.php!!! I have no idea why this is happening and where is it coming from
Any help will be appreciated.
Thanx
|