File upload question

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I've just set up a file upload php page where people can send me images
and photos. Now I need, on that same page, a text block where they can
write details about the photo and have that text sent to my email
address and the photo get sent to my server.

I want to add whatever additonal code is needed to the page I made. Is
this possible?


Re: File upload question


for the text block you could just add a textarea to the existing form using

<textarea name="ITSNAME" cols="45" rows="10"></textarea>

and you should adjust the width (=cols) and height (=rows) of the box.

In your php script you can broach the textarea-input with
$_POST['ITSNAME'] if you use the post method in your form.

Then the you need only built two functions, the first one that safes the
uploaded file and the second one that uses the passed ITSNAME variable
value and sends it to your e-mail adress.

smk17 wrote:
Quoted text here. Click to load it

Site Timeline