Re: upload file

From: Date: Sun, 25 Aug 2002 19:39:18 +0000
Subject: Re: upload file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-114074@lists.php.net to get a copy of this message
Check these out: http://www.php.net/manual/en/features.file-upload.php http://www.php.net/manual/en/function.move-uploaded-file.php From the bit of code you posted, you're not declaring where an upload should actually go.. If you want it sent via email (attachment, not upload), that's another story, but if you want it sent to a directory within your site, the links above should be of some help.. Take care.. peace.. eriol ==== "Daniel Guerrier" <dan_guerrier@yahoo.com> disgorged: : upload.html has this: : <form action="upload2.php" method="POST" enctype="multipart/form-data"> : <input type="file" name="userfile"> : <input type="submit" name="submit" value="submit"> : </form> : : and : : upload2.php has this: : <?php : echo("in post"); : echo($_POST['userfile]); : ?> : : Where is the file??

« previous php.general (#114074) next »