solved it by using stristr() instead.
> >
> > Works a treat.
> >
> > George
> >
> > > -Original Message-
> > > From: Brian McGarvie [mailto:[EMAIL PROTECTED]]
> > > Sent: 26 November 2002 4:26 pm
> > > To: [EMAIL PROTECTED]
>
;
> > -Original Message-
> > From: Brian McGarvie [mailto:[EMAIL PROTECTED]]
> > Sent: 26 November 2002 4:26 pm
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] Re: File Upload - extension filtering
> >
> >
> > use 'image/tiff' instead...
Brian,
Thanks. However, I have just solved it by using stristr() instead.
Works a treat.
George
> -Original Message-
> From: Brian McGarvie [mailto:[EMAIL PROTECTED]]
> Sent: 26 November 2002 4:26 pm
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Re: File Upload - exte
use 'image/tiff' instead...
"George Pitcher" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> I have file upload working on my NT/Lasso/PHP site and want to restrict
the
> type of file being uploaded to either PDF, TIF or ZIP.
>
>
> My code sofar is:
alex
file, which i'm uploading seems to appear in
> temp folder only when
> upload is finished
copy($userfile, "c:/uploadz/" . $unique_id."-".
$userfile_name )
c:\uploads is my dir fo uploaded files
so u ve to specify the dir where u awnt ur uploads to
get saved
toby .
___
The file, which i'm uploading seems to appear in temp folder only when
upload is finished. So i can't track upload progress.
Help.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Now i'm asking to excuse me.
I found my mistake.
In my Upload form MAX_FILE_SIZE was set to 1000.
Sorry for that.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php