View Single Post
  #13  
Old 10-29-2007, 01:33 PM
jaf1230 is offline jaf1230
Registered User

Join Date: Oct 2007
Posts: 9

*sigh* Yeah, it's a good idea to turn off error reporting, but it's a better idea to make sure that you don't get the errors in the first place. It's a simple line of code:
if(!isset($varToInit)) $varToInit = "";
If you put this in before all the loops that .= on a string, it'll make your code, oh, 500 bytes longer, and will be correct, proper code. It takes less than a minute, and makes your code a lot better. Like comments, which are fortunately abundant here.
When I get a chance, I'll merge my copy with the official copy and upload the changes. My version not only doesn't throw those errors, but it also allows images to be any aspect ratio (including insane things like 15000:1). I may also implement a logout button (an important security function).
Reply With Quote