You are here: Re: File upload question « PHP Programming Language « IT news, forums, messages
Re: File upload question

Posted by Andre Frashek on 11/14/21 11:50

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
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация