By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,009 Members | 1,487 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,009 IT Pros & Developers. It's quick & easy.

File upload question

P: n/a
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?

Thanks

Jun 15 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

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:
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?

Thanks

Jun 15 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.