Joost,
Is there a course of action you'd recommend, based on that? Just getting rid of the line gives me a Premature end of headers error when I run the script. Thank you for your help!
Cheers,
K. | [reply] |
Either remove the line and make sure you use truecolor initializers (seems you do already) or just remove the check - that call always succeeds.
The "premature end of script headers" is because you're not sending any response from the script if you don't encounter an error - all the output is to some files. So just print a response (i.e. some headers and content) to STDOUT.
update: you'll also want to read Far More Than Everything You've Ever Wanted to Know about
Prototypes in Perl, or just forget about them and don't use them. Your current use of prototypes is only going to bite you at some point.
| [reply] |
Thanks for the tips... I've gotten rid of the prototypes for now.
I'm still having trouble, though, and think there might be something pretty fundamental going on. The upload happens fine... I look in the folder and it's there. However, when I go to look for the resized Image, it's gone :(. I'm not quite sure where to go from here...
Cheers,
K.
| [reply] |