Using PHP 4.0.4 for Windows it is possible to access memory "before" a
variable using a negative index on a string variable.

Executing the snippet below outputs a lot of trash but alos the entire
source code of a file that is auto prepended.

$str = '';
$hello = 'Hello';
for($i = 0; $i > -10000; $i--)
        $str .= $hello[$i];
echo strrev($str);

Icq# 38863127

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to