Reply to Re: Upload problem...

Your name:

Reply:


Posted by none on 06/24/07 10:32

Event Horizon wrote:
> Hi,
>
> I'm trying to add an simple upload applet to shopping cart script. My new
> applet form sends all needed post fields ( quantity, product, etc... )
> but the "file" post field is hardcoded in applet.
> Shop script works with :
> <input type="file" name="id[SourceFile_1]"/>
> but not with applet's:
> <input type="file" name="SourceFile_1"/>
> I just cannot figure out how to fix this :(
> Could somebody please help me?

Either fix the script or work around it :-)

something like
if($_FILES['SourceFile_1'])
{
$_FILES[id['SourceFile_1']]=$_FILES['SourceFile_1'];
}
Not the nicest solution however :-)

Arjen

[Back to original 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

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