|  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: jim at saca dot net
New email:
PHP Version: OS:


 [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.


follows part of the page as proof.

Source of: /
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( "");
if (strstr($MYSITE, "")) {
    $dbhost= "localhost";
    $dbuser= "nobody";
    $dbpwd= "";
} else if (strstr($MYSITE, "")) {
    $dbhost= "";
    $dbuser= "bourbon";
    $dbpwd= "";
} else {
    Header( "Location:");

commonHeader( "Bug Reporting");
echo  "<font size=-1>\n";
$destination =  "";
#$destination = ""; 

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) {


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-28 21:52 UTC]
no, it just happens to be that and are
on the same physical server 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 12 15:01:30 2024 UTC