] 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, 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
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 in
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 to the server, but
for some reason it
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
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_uploaded_file, and tmp_name is none. The thing
is though, Iam only unable to upload gifs and jpegs, but yet i can upload
other
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 POST. I can
initiate the upload , but when I have the php process the file, it fails
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_uploaded_file, and tmp_name is none. The thing
is though, Iam only unable
: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_uploaded_file, and tmp_name is none. The thing
is though, Iam only unable
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(
: 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_uploaded_file, and tmp_name is none. The thing
is though, Iam only unable to upload
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
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
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 the
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
:[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 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
Nevermind, I spoke too soon.
Carl
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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 very secret, now
17 matches
Mail list logo