try this:
function
Upload($source_file,$source_filename,$dest_dir,$allowed_types=array(),
$upload_errmsg="")
{
if( count($allowed_types) )
{
if(!in_array(ArquivoExt($source_filename),$allowed_types))
{
?>O arquivo não está entre os tipos
autorizados
To: <[EMAIL PRO
that's exactly the problem... damn, how couldn't I think of this..
I didn't realise that when a file is NOT uploaded its value is set to
'none'... and I was using empty() to check it...
thanks a lot.
At 10:54 14/11/01 -0600, Steve Cayford wrote:
>Sure sounds like you're hitting this function t
Sure sounds like you're hitting this function twice by accident. Are you
sure you're only calling it once? That would explain why you only get
one output with the die(), but two without it.
-Steve
On Wednesday, November 14, 2001, at 10:34 AM, Christian Dechery wrote:
> I don't know what it i
3 matches
Mail list logo