Jump to content

How do i create a piece of code that reproduces itself??


lehi@here

Recommended Posts

try

<?php
$b = 5+2;
echo $b;
echo '<br />Sasa<br >';

// not output
echo '<hr />script source:<br />';
echo '<pre>';
echo htmlentities(preg_replace('/[\r\n]*\/\/ not output.*not output[\r\n]*/s',"\r\n",file_get_contents($_SERVER['SCRIPT_FILENAME'])));
echo '</pre><hr />';
// not output

?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.