php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31255 Search box on site contains $_SERVER variables
Submitted: 2004-12-22 19:38 UTC Modified: 2004-12-29 18:36 UTC
From: kurtzs at charter dot net Assigned:
Status: Closed Package: Website problem
PHP Version: 5.0.3 OS: Windows 98 SE
Private report: No CVE-ID: None
 [2004-12-22 19:38 UTC] kurtzs at charter dot net
Description:
------------
I just visited PHP.net to search for a certain time function. But, when the page came up the search box contained this text:

%7B$_SERVER%5B%5C\'STATIC_ROOT%5C\'%5D%7D/functions.js

This problem doesn't really effect me but from what I can tell the information such as $_SERVER[STATIC_ROOT] shouldn't be showing up in a form field.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-22 19:42 UTC] kurtzs at charter dot net
The above text was in the search box in Mozilla Firefox. But,in IE 6.0 it shows:

{$_SERVER[/\'STATIC_ROOT/\']}/functions.js
 [2004-12-22 19:49 UTC] goba@php.net
Although I don't know how this got into the search box in either of these browsers, I beleive I fixed the problem. It will get fixed once the mirror updates to our latest site code. Also I cannot reproduce the problem, but it will probably be fixed... Please check a bit later.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 18:00:02 2026 UTC