You are here: Re: new to uploading files... « PHP Programming Language « IT news, forums, messages
Re: new to uploading files...

Posted by Daniele on 02/15/07 12:51

i had a similar problem in safari 2.0.3 resolved in 2.0.4
just close the tag files
<input type="file" name="newfile" size="25"/>

maybe like this
<form enctype="multipart/form-data" action="uploader.php" method="POST">
<input type="hidden" name="MAX_FILE_SIZE" value="100000" />
<input name="uploadedfile" type="file" />
<input type="submit" value="Upload File" />
</form>

jodleren wrote:
> On Feb 15, 11:28 am, Andy Jeffries <n...@andyjeffries.co.uk> wrote:
>> On Wed, 14 Feb 2007 12:54:50 -0800, jodleren wrote:
>>> Well, I looked at an example from this group, tried it, and tried to use
>>> it - but it does not work when I do it like this in PHP4.
>>> <table>
>>> <tr><td><input type="file" name="newfile" size="25"></td></tr>
>>> <tr><td><input type="submit" name="sub_new" value="Upload"></td></
>>> tr>
>>> </table></form>
>> What's the opening form tag look like?
>
> <form method=post name='myform' action='the_file_itself'>
>
> BR
> S
>
>

 

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

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