Do you have a question? Post it now! No Registration Necessary. Now with pictures!
June 15, 2006, 3:12 pm
rate this thread
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
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.