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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 21:01:27 2024 UTC