php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15935 phpinfo routine mixing SCRIPT_URI and SCRIPT_URL
Submitted: 2002-03-07 12:35 UTC Modified: 2002-06-13 17:59 UTC
From: W dot Edmunds at exeter dot ac dot uk Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.1.2 OS: Irix 6.5.14
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: W dot Edmunds at exeter dot ac dot uk
New email:
PHP Version: OS:

 

 [2002-03-07 12:35 UTC] W dot Edmunds at exeter dot ac dot uk
Just noticed that phpinfo is reporting the SCRIPT_URI in the form:

http://www.ex.ac.uk/test.php

and the SCRIPT_URL in the form:

/test.php

Aren't these the wrong way round??

REQUEST_URI is of the form:

/test.php

Sorry to be so pedantic.
Bill Edmunds

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-13 17:59 UTC] sniper@php.net
That's pretty much bogus since there are no such things
in PHP..

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 12:01:31 2024 UTC