php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24584 missing one _SERVER var
Submitted: 2003-07-10 05:32 UTC Modified: 2003-07-10 11:59 UTC
From: bretschneider at element5 dot com Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 4.3.3RC1 OS: freebsd 4
Private report: No CVE-ID: None
 [2003-07-10 05:32 UTC] bretschneider at element5 dot com
Description:
------------
un php 4.3.3RC1 the var _SERVER['SCRIPT_NAME'] does not
exist anymore. therefore u get _SERVER['SCRIPT_FILENAME'].

i could not find any hind in the documentation. therefore it
must be a bug.

frank

Reproduce code:
---------------
<? 

phpinfo();

?>

 :-)

Expected result:
----------------
/report.php

Actual result:
--------------
'' :-)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-10 11:59 UTC] sniper@php.net
From my phpinfo() output:

_SERVER["SCRIPT_NAME"]  /misc/info.php


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 15:01:32 2024 UTC