RE: [PHP] Cannot upload JPEG only

2002-04-04 Thread Carl Schmidt
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

RE: [PHP] Cannot upload JPEG only

2002-04-03 Thread Martin Towell
--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

RE: [PHP] Cannot upload JPEG only

2002-04-03 Thread Carl Schmidt
Nevermind, I spoke too soon. Carl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Cannot upload JPEG only

2002-04-03 Thread Carl Schmidt
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

Re: [PHP] Cannot upload JPEG only

2002-04-03 Thread Carl Schmidt
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

Re: [PHP] Cannot upload JPEG only

2002-04-03 Thread Carl Schmidt
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

Re: [PHP] Cannot upload JPEG only

2002-04-03 Thread Miguel Cruz
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'][

Re: [PHP] Cannot upload JPEG only

2002-04-03 Thread Carl Schmidt
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

Re: [PHP] Cannot upload JPEG only

2002-04-03 Thread Carl Schmidt
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

Re: [PHP] Cannot upload JPEG only

2002-04-03 Thread Bob
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

Re: [PHP] Cannot upload JPEG only

2002-04-03 Thread Dennis Moore
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

Re: [PHP] Cannot upload JPEG only

2002-04-03 Thread Carl Schmidt
" <[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

Re: [PHP] Cannot upload JPEG only

2002-04-03 Thread Bob
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

Re: [PHP] Cannot upload JPEG only

2002-04-03 Thread Carl Schmidt
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

Re: [PHP] Cannot upload JPEG only

2002-04-03 Thread Carl Schmidt
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

Re: [PHP] Cannot upload JPEG only

2002-04-03 Thread Bob
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

Re: [PHP] Cannot upload JPEG only

2002-04-03 Thread Miguel Cruz
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

[PHP] Cannot upload JPEG only

2002-04-03 Thread Carl
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