RE: [PHP] Re: How do i make an upload script?
| From: | brucedickey | Date: | Thu, 14 Nov 2002 15:39:01 +0000 |
| Subject: | RE: [PHP] Re: How do i make an upload script? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-124443@lists.php.net to get a copy of this message | ||
Jon,
There's bulk-emailer on hotscripts.com. You could look at its code.
Bruce
-----Original Message-----
From: Jon Haworth [mailto:jhaworth@witanjardine.co.uk]
Sent: Thursday, November 14, 2002 5:37 AM
To: 'Tweak2x'; php-general@lists.php.net
Subject: RE: [PHP] Re: How do i make an upload script?
Hi,
> > > How do i make an upload script?
> >
> > http://us.php.net/manual/en/features.file-upload.php
>
> ok, this is upload.php:
>
> <form enctype="multipart/form-data" action="upload.php"
> method="post">
> <input type="hidden" name="MAX_FILE_SIZE" value="1000">
> Send this file: <input name="userfile" type="file">
> <input type="submit" value="Send File">
> </form>
Yup, copied and pasted from the manual page, that should work.
>
> what else do i need?
1. A script to receive the uploads
2. A file to upload
The manual page you linked to above will be of use in completing stage 1 -
there's a bit further down that you need to copy and paste as well. Read the
user comments as well, as they will answer questions that will inevitably
come up.
Stage 2 - well, you're on your own, but there should be something on your
hard drive that's suitable.
Cheers
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php