Re: Uploading Files via PHP
| From: | Brian Drexler | Date: | Sun, 18 Feb 2001 20:16:17 +0000 |
| Subject: | Re: Uploading Files via PHP | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40463@lists.php.net to get a copy of this message | ||
<?
exec( "mv $image '$Destination/$FileName'");
?>
----- Original Message -----
From: Michael Stearne <mstearne@entermix.com>
To: Brian Drexler <bdrexler@mail.precisionwd.com>
Cc: Php-General <php-general@lists.php.net>
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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net