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" <[EMAIL PROTECTED]> 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??



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to