<?
exec( "mv $image '$Destination/$FileName'");
?>

----- Original Message -----
From: Michael Stearne <[EMAIL PROTECTED]>
To: Brian Drexler <[EMAIL PROTECTED]>
Cc: Php-General <[EMAIL PROTECTED]>
Sent: Sunday, February 18, 2001 1:55 PM
Subject: Re: [PHP] Uploading Files via PHP


> The script you are using is probably checking the MIME type of the file
> uploaded and rejecting any of the ones that are not one of the types you
> listed.  Look at or post some of the code you are using to find out if
> this is the case.
>
> Michael
>
>
> Brian Drexler wrote:
>
> > I've been using a PHP upload script to upload files to our server, but
my
> > problem is this.  I can't upload anything but JPG, GIF, and HTML files.
> > Anyone have any idea why?  This is probably something simple that I'm
just
> > overlooking, but please help.
> >
> > Brian Drexler
> >
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to