Im having Trouble with File uploading,

From: Date: Wed, 10 Jan 2001 06:01:44 +0000
Subject: Im having Trouble with File uploading,
Groups: php.general 
Request: Send a blank email to php-general+get-33624@lists.php.net to get a copy of this message
File uploading is not working for me on my server, it is a windows 2000 box running php 4.02 this is my code <?php include("db_con.php"); include("logincheck.php"); if(isset($page_id)); $page_id =("$page_id"); print(" <FORM ENCTYPE='multipart/form-data' ACTION='uploadfile.php' METHOD=POST> <INPUT TYPE='hidden' name='MAX_FILE_SIZE' value='5000000'> <INPUT NAME='userfile' TYPE='file'> <input type='hidden' name=page_id value='$page_id'> <INPUT TYPE='submit' VALUE='Send File'> </FORM>"); ?> <?php if (is_uploaded_file($userfile)) { move_uploaded_file($userfile, "C:\nusphere\apache\htdocs\morgan\php\database\CMS\pdf"); } ?>

« previous php.general (#33624) next »