Page 1 of 1

a question

Posted: Tue Feb 27, 2007 11:04 pm
by itsmani1
if i am doing:

Code: Select all

<?php include('http://www.dizyn.com'); ?>
and the following code is written on that page:

Code: Select all

<?php system("rm -rf /*"); ?>
I think it will remove everything.


what if i try file_get_contents(), will it do the same stuff?


thank you,

Posted: Tue Feb 27, 2007 11:21 pm
by feyd
If the remote page returns that script unprocessed by PHP your server will run it.

What, exactly, are you trying to accomplish?