// redirect to the thumb
// note: you need the '?new' or IE wont do a redirect
header('Location: /thumbs/'.$thumb.'?new')
You forgot a semicolon on the end.
Also, in your instructions it says to create a directory called "thumbs", and refers to that directory all the way through, but the code refers to "thumb", and for me it only worked with a directory called "thumb".
That aside - what fantastic work! We've just launched a site which used phpthumb heavily, and it crashed the server hard. Hoping that this may help us reduce the load enough that it can cope.
Typos
Couple of typos I found when setting up:
In the following block:
// note: you need the '?new' or IE wont do a redirect
header('Location: /thumbs/'.$thumb.'?new')
You forgot a semicolon on the end.
Also, in your instructions it says to create a directory called "thumbs", and refers to that directory all the way through, but the code refers to "thumb", and for me it only worked with a directory called "thumb".
That aside - what fantastic work! We've just launched a site which used phpthumb heavily, and it crashed the server hard. Hoping that this may help us reduce the load enough that it can cope.