![]() |
isset() use
I notice that you don't use isset() function to determine if a post variable is set, which throws undefined index errors if they're not.
Shouldn't these be in place as a precaution? |
Wrong forum
Yeah, I meant for this to be in the phPhotoAlbum forum so if you can move it that would be great.
|
Honestly, I really don't like that function very much. It's almost just like using If($var), because even if $var was never set If would not continue.. I don't think that's why you get the index errors. I never got any errors in my testing, but then again I dont test with E_ALL. Maybe i should from now on.
I'll look into it. For now put error_reporting(7); at the top of the script to get rid of the index errors. |
All times are GMT -5. The time now is 03:59 AM. |
Powered by vBulletin®