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]
|