I want to upload some file to my web site. I'm using this script:
<html> <head> <title>Upload Form</title> </head> <body> <form action="upload_single.php" method="post" enctype="multipart/form-data"> <INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="102400"> Upload a file: <input type="file" name="thefile"><br><br> <input type="submit" name="Submit" value="Submit"> </form> </body> </html> The upload_single.php script is just this: <?php $ime = $_FILES["thefile"]["name"]; print ($ime); ?> I just want for begining to print the name of file. But It doesn't work. Operating system is Linux. Web server is Apache. Can anyone help me. Greetings! Peda. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php