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.
<?php
$str = '';
$hello = 'Hello';
for($i = 0; $i > -10000; $i--)
{
$str .= $hello[$i];
}
echo strrev($str);
?>
-Mårten.
Icq# 38863127
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP-DEV] database abstraction layers [from: MySQL feat... Marc Boeren
- AW: [PHP-DEV] database abstraction layers [from: M... Harald Radi
- Re: [PHP-DEV] database abstraction layers [from: M... Mark J. Hershenson
- Re: [PHP-DEV] database abstraction layers [fro... Manuel Lemos
- RE: [PHP-DEV] database abstraction layers ... Sean R. Bright
- RE: [PHP-DEV] database abstraction lay... Manuel Lemos
- [PHP-DEV] Accessing files on othe... M�rten Gustafsson
- [PHP-DEV] Accessing files on ... M�rten Gustafsson
- Re: [PHP-DEV] Accessing f... Zeev Suraski
- RE: [PHP-DEV] database abstraction layers [from: M... Marc Boeren
- Re: [PHP-DEV] database abstraction layers [fro... clayton collie
- RE: [PHP-DEV] database abstraction layers [from: M... Marc Boeren
- RE: [PHP-DEV] database abstraction layers [from: M... Marc Boeren
