> https://skunkWerkz.hosting-advantage.com/superSecretTesting/updateAdmin/MP3_
> Add.php
> not very secret, now that you've told everyone :)
Yep, I was waitin' for that one  :-)

> anyway - do you have any .htaccess directives in one directory, you don't
> have in the other?

I do have separate .htaccess files for 2 separate sections.  There is one
controlling the "devArea" realm, and it is at:

The second one I have is at:
to control the "administration" realm

There is some other info, related to this that may be of use:
The real name name of the site is www.imperialthrust.com.  Since this is
just a rock band's web site, I didn't need my own certificate for
ecommerce, but I did want to use the web hosts shared cert so I could
secure a section of the site for administration.  I was given the 3rd
level domain alias: skunkWerkz.hosting-advantage.com that apparently
bounces me through their authentication server.  For a while the web site
was not registered, so I've been connecting directly to
But I've been running some tests and it looks as if when I go
for some strange reason, jpegs and gifs are now able to be uploaded.  It
appears to be working, but I sure wish I knew why....


> -----Original Message-----
> From: Carl Schmidt [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 04, 2002 3:39 PM
> To: Miguel Cruz
> 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' 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 errored out
> , saying it couldn't upload the file;  but the weird thing is that it
> _can_ upload jpgs and gifs, but needless to say discards them because
> they are the wrong type.
> I tried the same MP3 page in developmen, but it exhibits the same behavior
> as the image upload page in that it won't even upload a jpeg or gif.  This
> leads me to bleieve I've got some sort of configuration issue here.
> Both eprod and dev are on the same box.  Here's the paths to the 2 pages:
> Prod:
> https://skunkWerkz.hosting-advantage.com/updateAdmin/MP3_Add.php
> Dev:
> https://skunkWerkz.hosting-advantage.com/superSecretTesting/updateAdmin/MP3_
> Add.php
> 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 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 since, as far as php is concerned, it appears nothing
> is
> > > uploaded.
> >
> > What happens if you take a file that works, and rename it so the extension
> > is .GIF, and try uploading it? I mean, obviously it won't be a valid
> > image, but will it transfer and show up?
> >
> > miguel
> >
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to