At 3:33 PM +0200 6/5/07, Zoltán Németh wrote:
2007. 06. 5, kedd keltezéssel 09.17-kor tedd ezt írta:
At 9:56 AM -0400 6/4/07, Robert Cummings wrote:
>On Mon, 2007-06-04 at 09:50 -0400, tedd wrote:
>>
>> Don't scale, resample. See here:
>>
> >> http://www.webbytedd.com/b/thumb/index.php
> >
> PS: It's always pays to have someone
knowledgeable review your code -- thanks.
one more note:
you have ignore_user_abort(); in the beginning of the script, but
according to the manual ( http://php.net/ignore_user_abort ) it should
be used like ignore_user_abort(TRUE); otherwise it only returns the
current setting...
Zoltán:
Ah yes, I see. I'll remove that statement
altogether. That statement is only to keep
processes running (regardless of the user's
actions) to their completion, like updating a dB.
The code I provide in the demo simply presents a
thumbnail to the user and if the user is not
there, then why continue anyway? Thus, no reason
to continue, right?
However, there seems to be some disagreement
about what the ignore_user_abort() returns.
Also, in my readings, I have read several books
that say keeping any sort of error reporting code
in your public script is not a good idea. In
other words, don't give possible evil-doers any
information. So, I should remove the error
reporting statements as well.
Any thoughts?
Cheers,
tedd
PS: I thought that at least someone would tell me that my dog was cute.
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php