php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42205 Searching for $* in "All php.net sites" results in error dump
Submitted: 2007-08-04 09:42 UTC Modified: 2007-08-04 11:34 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: info at scygen dot com Assigned:
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
 [2007-08-04 09:42 UTC] info at scygen dot com
Description:
------------
A search for the simple query "$*" (without the quotation marks, and the wildcard being any string) in "All php.net sites" at the top of the page results in a php error dump in results.php and a header error in layout.inc (probably because results.php already error dumped onto the screen).

Reproduce code:
---------------
Search for any string that starts with a dollar sign in the search box and set the realm to "all php.net sites".

Expected result:
----------------
A results page with all matches on the subject

Actual result:
--------------
Warning: file_get_contents(http://www.php.net/ws.php?profile=all&q=%24any〈=en&results=10&start=1&mirror=nl3.php.net): failed to open stream: Connection refused in /var/www/mirror/domeinen/nl3.php.net/website/results.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /var/www/mirror/domeinen/nl3.php.net/website/results.php:32) in /var/www/mirror/domeinen/nl3.php.net/website/include/layout.inc on line 81

Warning: Cannot modify header information - headers already sent by (output started at /var/www/mirror/domeinen/nl3.php.net/website/results.php:32) in /var/www/mirror/domeinen/nl3.php.net/website/include/layout.inc on line 82

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-04 09:49 UTC] info at scygen dot com
Actually, I just found out that a search for ANYTHING results in this error being generated using "All php.net sites".

By the way, I'm using the www.nederland.net mirror.
 [2007-08-04 11:34 UTC] steffann@php.net
The server that the www.nederland.net mirror (a.k.a. nl3.php.net) is running on blocks outgoing http requests from apache by default. This is to prevent script-include abuse. I have enabled http access to www.php.net from apache, so now searching all PHP.net sites works again as expected.

Thank you for reporting this!
Sander Steffann

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 16 22:00:01 2026 UTC