hursday, April 04, 2002 3:39 PM
> To: Miguel Cruz
> Cc: Bob; [EMAIL PROTECTED]
> Subject: Re: [PHP] Cannot upload JPEG only
>
>
> And here's the really wacky part i just found out. I have a page in prod
> that uploads MP3s.
> Part off what it does is upload the file, exam
--Original Message-
From: Carl Schmidt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 4:06 PM
To: Martin Towell
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Cannot upload JPEG only
>
https://skunkWerkz.hosting-advantage.com/superSecretTesting/updateAdmin/MP3_
> Add.php
>
> not
Nevermind, I spoke too soon.
Carl
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t I sure wish I knew why
Carl
>
> -Original Message-
> From: Carl Schmidt [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 04, 2002 3:39 PM
> To: Miguel Cruz
> Cc: Bob; [EMAIL PROTECTED]
> Subject: Re: [PHP] Cannot upload JPEG only
>
>
> And here's th
And here's the really wacky part i just found out. I have a page in prod
that uploads MP3s.
Part off what it does is upload the file, examine its' type , and then
discard the file if it's not the type expected. Assuming the web host was
set to not allow uploads of jpg and gif, the MP3 page wouldve
I copied index.html to index.gif, and it uploaded fine as index.gif to the
appropirate
directory.
Carl
On Wed, 3 Apr 2002, Miguel Cruz wrote:
> On Wed, 3 Apr 2002, Carl Schmidt wrote:
> > Thank you for the code snippets. Unfortunately the problem is that I
> > can'tget far enough to process t
On Wed, 3 Apr 2002, Carl Schmidt wrote:
> Thank you for the code snippets. Unfortunately the problem is that I
> can'tget far enough to process the file. When the php script that
> supposed to process the file tests with is_uploaded_file, it fails. In
> addtion, the $HTTP_POST_FILE['userfile'][
Thank you for the code snippets. Unfortunately the problem is that I
can'tget far enough to process the file. When the php script that
supposed to process the file tests with is_uploaded_file, it fails. In
addtion, the $HTTP_POST_FILE['userfile']['tmp_name']=none. So i can't
process anything s
quot; <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, April 03, 2002 10:12 PM
> Subject: Re: [PHP] Cannot upload JPEG only
>
>
> > No I haven't. Right now, it's uploading via a simple form POST. I can
> > initiate the upload , but wh
Uhh, yeah, I forgot the getImage function part of the file.. Sorry about
that.. Here it is..
function getImage( $image, $newName = false )
{
global ${ $image }, ${ $image . "_name" }, ${ $image . "_size" }, ${
$image . "_type" };
//check for productImages directory
if( !is_dir( "prod
PROTECTED]>
Sent: Wednesday, April 03, 2002 10:12 PM
Subject: Re: [PHP] Cannot upload JPEG only
> No I haven't. Right now, it's uploading via a simple form POST. I can
> initiate the upload , but when I have the php process the file, it fails
> on the first test for is_up
" <[EMAIL PROTECTED]>
> To: "Bob" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, April 03, 2002 8:12 PM
> Subject: Re: [PHP] Cannot upload JPEG only
>
>
> > No I haven't. Right now, it's uploading via a simple form P
TED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, April 03, 2002 8:12 PM
Subject: Re: [PHP] Cannot upload JPEG only
> No I haven't. Right now, it's uploading via a simple form POST. I can
> initiate the upload , but when I have the php process the file, it fails
> on the fir
load
other things like mp3s and text files and such.
Carl
On Wed, 3 Apr 2002, Bob wrote:
> Did you try passive mode FTP?
>
> Later,
> Bob
>
> - Original Message -
> From: "Carl" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wedne
I can initaite an upload from the browser. However, once the php acript
attempts to process the uploaded file, it failswhen I test for
is_uploaded_file. i also printed out the value of tmp_name and it was set
to none.
Carl
On Wed, 3 Apr 2002, Miguel Cruz wrote:
> On Wed, 3 Apr 2002, Carl wro
Did you try passive mode FTP?
Later,
Bob
- Original Message -
From: "Carl" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 03, 2002 7:54 PM
Subject: [PHP] Cannot upload JPEG only
> I'm able to successfully upload mp3s and text files
On Wed, 3 Apr 2002, Carl wrote:
> I'm able to successfully upload mp3s and text files to the server, but
> for some reason it won't let me upload jpegs or gifs? Is that a server
> configuration thing?
What do you mean by "it won't let me"? What happens? An error message?
Does a file get stored
I'm able to successfully upload mp3s and text files to the server, but
for some reason it won't let me upload jpegs or gifs? Is that a server
configuration thing?
Carl
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
18 matches
Mail list logo