php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13211 how to redirect to another php page.
Submitted: 2001-09-08 05:17 UTC Modified: 2001-09-08 05:47 UTC
From: c_surendra at yahoo dot com Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 4.0.4pl1 OS: windows 98
Private report: No CVE-ID: None
 [2001-09-08 05:17 UTC] c_surendra at yahoo dot com
when i try to redirect the page with header("Location: ....") is not going to the requested page.  Instead it is showing page can not be displayed in IE5.  please let me know how to send and receive the header from php script.  I am using Personal WebServer for windows 98. 

 please let me know the solution for this. 
 if(!$temp){

 header("Location: http://sys3/test/abc.php");
 exit;
}

  where sys3 is my pws. and test is my working directory.

  $temp is a boolean.

  let me know how to send information to next php using header.  


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-08 05:47 UTC] sander@php.net
Ask support questions on the appropriate mailinglist (see http://www.php.net/support.php).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 19:01:28 2024 UTC