# http://o-o.lt/mi_ga/source/?code Start copying source/?code here! ?>
source/?code
# Save file as index.php and upload to the directory called "source".
# Note that the permissions for the created directory should be set to
# read, write and execute, ie "chmod 777". Point your browser to created
# directory. If your webserver supports php and interprets the index.php
# file as the first file, everything must work smoothly!
if (!isset($color)) { $color = ''; while (strlen($color) < "6") { $color
.= chr(rand (97,102)); } } if (empty($url)) { if (!empty($code)) { $file
= $code; } else { $dir = "./"; $open = opendir($dir); $n = 0; while
($flname = readdir($open)){ if($flname != "." && $flname != ".."){ $n++;
$a[$n] = $flname; } } $x = rand(1,$n); $file = $a[$x]; } $handle = fopen
("$file", "r"); while($line=fgets($handle,2)) { $data.=$line; } list($x,
$url,$y) = explode(" ",$data); }if(isset($frame)){if($frame=='1'){echo "
"; echo "\n"; } if($frame=='2') { if(!isset($lnkcolor)) { $lnkcolor = '';
while (strlen($lnkcolor) < "6") { $lnkcolor .= chr(rand (97,102)); } }
$handle = fopen ("$url", "r"); while ( $line = fgets ($handle,300) ) {
$alltext .= $line; } $alltext = ereg_replace ("<", "<", $alltext);
$showtext = ereg_replace ("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]",
"\\0", $alltext); echo "
$showtext
";
if(!empty($source) && !empty($showtext)) { $newfile = date("ymdHis");
$newfile = "./$newfile.html"; $handle = fopen ("$newfile", "w"); fwrite
($handle, "\n"); $handle = fopen ("$newfile", "a+"); fwrite
($handle, "$alltext"); fclose($handle); } } } ?>
$finishcopyingsourcecodehere = "Finish copying source/?code here!" ?>