[PHP] Why does this encoding work in PHP?

2007-05-04 Thread Arno Kuhl
I recently came across a script that was oddly encoded. A bit of digging revealed it was encoded in octal. What puzzles me is why the php interpreter is able to understand the script. An example (not from the original script) require_once ../file.php; require_once

Re: [PHP] Why does this encoding work in PHP?

2007-05-04 Thread Dave Goodchild
The characters are encoded in octal and the php interpreter converts them into the corresponding ASCII characters and then the sequence is represented as a string which is included?

Re: [PHP] Why does this encoding work in PHP?

2007-05-04 Thread Richard Lynch
On Fri, May 4, 2007 3:24 am, Arno Kuhl wrote: I recently came across a script that was oddly encoded. A bit of digging revealed it was encoded in octal. What puzzles me is why the php interpreter is able to understand the script. An example (not from the original script) require_once