Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 1st, 2004, 08:31 AM
Registered User
 
Join Date: Sep 2004
Location: , , .
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

Reply With Quote
  #2 (permalink)  
Old September 1st, 2004, 04:06 PM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 03:35 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.