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
 [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: Sun May 26 14:01:32 2024 UTC