php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3169 source.php3
Submitted: 2000-01-11 00:59 UTC Modified: 2000-07-28 21:52 UTC
From: jim at saca dot net Assigned:
Status: Closed Package: Other
PHP Version: 3.0.13 OS: ALL
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
49 - 44 = ?
Subscribe to this entry?

 
 [2000-01-11 00:59 UTC] jim at saca dot net
-*****************************************-
source.php3 will let you view ANY php3 file source.(at ANY url)
You may want to take a look as to WHY this is a problem.

(http://www.php3.net/source.php3page_url=/bugs.php.net/bugs.php3)

follows part of the page as proof.
=======================================================

Source of: /bugs.php.net/bugs.php3
IMPORTANT: There are some restrictions on your use of the code and graphics on this site.
You should read the copyright.

--------------------------------------------------------------------------------
<?

/* See the end of the script for the table layout. */ 

require( "shared.inc");
if (strstr($MYSITE, "bugs.php.net")) {
    $dbhost= "localhost";
    $dbuser= "nobody";
    $dbpwd= "";
} else if (strstr($MYSITE, "il.php.net")) {
    $dbhost= "bugs.php.net";
    $dbuser= "bourbon";
    $dbpwd= "";
} else {
    Header( "Location: http://bugs.php.net");
    exit;
}

$DISABLE_KICKOUTS=1;
commonHeader( "Bug Reporting");
echo  "<font size=-1>\n";
$destination =  "php-dev@lists.php.net";
#$destination = "rasmus@lerdorf.on.ca"; 

function indent($string, $prefix) {
    $string = ereg_replace(13,  "", $string);  /* get rid of Ctrl-M */ 
    return $prefix . ereg_replace( "\n",  "\n$prefix", $string) .  "\n";
}

function wrap($text,$margin=72) {
     

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-28 21:52 UTC] hholzgra@php.net
no, it just happens to be that www.php.net and bugs.php.net are
on the same physical server 
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed May 18 01:03:41 2022 UTC