Uploading images works for me but not others
View Single Post
02-14-2008, 01:01 AM
Join Date: Dec 2007
Originally Posted by
Alan @ CIT
Come on Orc, give us a clue
I'm guessing that is your thumbnail code? Is that the part that doesn't work for other users? What does happen? Are you displaying errors, and if so, what errors appear?
Oh crap, well they say its an invalid image cause I do a sub string split using substr to see if it equals png, gif, or jpeg, if it does then it generates a thumbnail and stores it to the thumbnail path, with that it uploads the image as an md5 hash with the end of the image type ( png, gif, jpeg ).. Thing is, I removed a portion of the code where it checks to see if it is an image, then it worked, but the thumbnails didnt generate, so a logical explanation is the sub string(substr). I tried
// etc etc
And yet the thumbnails still didnt generate. so..
You still have to remember, it only works for me, not others.
VillageIdiot can have my babbies ;d
View Public Profile
Send a private message to Orc
Visit Orc's homepage!
Find More Posts by Orc