PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have a multi-image upload that is working in firefox, but won't in IE... figures.
I was wondering if anyone had an idea about that... i thought that maybe the submit button wasn't set to submit or something, or that the name wasn't working, but I think it looks good. Here's the code:
your code relies on $Submit existing when it does not get sent by IE. Look for a field that should always be there, or better yet, simply detect the post method: $_SERVER['REQUEST_METHOD']
ah yes, i just use it for when there are different submit buttons for the same form to do different actions. just checking, had my worried there the way i read it at first.
i tried feyd's method: $_SERVER['REQUEST_METHOD'] the result is GET
i tried to echo getimagesize(); and nothing shows up...
there is somethign that isn't allowing me to upload jpg, has this ever happened to anyone?
i have nothing against other file types, just... one step at a time, jpg is crucial
it does not return a string, it returns a array. its the most secure way to find out if the file uploaded is a actual image. i don't know if you can fake the image type thing to make it seam like a image, though it really is not, but i would bet money that it could be done.