Dear All.
I ma trying to write a script that let the user choose
how many languages to upload. Therefore the first
script checks weather the user has choosed to add
images, if not, he'll get a preview of the web site;
otherwise array_padd will increment the array for the
number of images the user
it's very hard to read this code without tabs, but maybe this is an error:
> do_upload2($userfile,$newname);
shouldn't that be $userfile2 and $newname2 ?
(if this is the error, now you see why ugly code sucks :))
anyway, maybe we would known much more if we saw the whole code, e.g. where
Current
I'm having a little struggle getting a PHP file to upload 2 files
simultaneously.
The code follows. The first image always gets uploaded but the second one
sometimes does but when it does it is a duplicate of the first image but
named as the second.
There's probably a real simple solution but obvi
3 matches
Mail list logo