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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 29 15:00:02 2025 UTC