#1
|
||
|
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? |
#2
|
||
|
Wrong forum
Yeah, I meant for this to be in the phPhotoAlbum forum so if you can move it that would be great.
|
#3
|
||
|
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.
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|