You are here: Re: Upload file having Browse button and Submit button on same form « PHP Programming Language « IT news, forums, messages
Re: Upload file having Browse button and Submit button on same form

Posted by Mazin07 on 10/13/05 02:06

Codeman II wrote:
> Hi there,
>
> I am building a form where the user must upload a picture and fill in his
> details.
> Now I have a problem as all of this is on the same form.
>
> How will I be able to have the Browse button to open the "file browse"
> dialog
> and the Submit button to submit the form data.
>
> As I believe you can not use GET but must use POST method for form.
> Is there any means that I can use GET cause I need to get form variables
> from URL as well.
>
>
> Thanks ALOT!
>
>

Put the submit button in the same form as the upload thing.
You can't use GET for uploads. 30 megs of data doesn't work well in a
URI. Why can't you get the variables from POSTDATA?

 

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

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