Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 1st, 2004, 08:31 AM
Registered User
 
Join Date: Sep 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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

 
Old September 1st, 2004, 04:06 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Cross-post with: http://p2p.wrox.com/topic.asp?TOPIC_ID=18496
Post replies there. Please don't cross-post.

Regards,
Rich

--
[http://www.smilingsouls.net]
[http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail





Similar Threads
Thread Thread Starter Forum Replies Last Post
URL Redirection Problem rch123 Need help with your homework? 0 June 18th, 2007 11:20 AM
Redirection file problem itsjustme PHP Databases 4 August 7th, 2006 03:47 AM
header problem? hosefo81 PHP How-To 4 June 23rd, 2006 01:06 AM
Header rediect problem .... ajutla Pro PHP 3 October 14th, 2004 09:13 AM
header redirection problem ronin2307 Pro PHP 2 September 1st, 2004 07:58 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.