the manual didn't mention that session_destroy would throw a warning if no session. i thought that if there wasn't a session to destroy, then session_destroy would know. however, it throws a warning. so... this got me thinking that maybe other functions that i initially thought wouldn't throw a warning actually would. i was trying to figure out why some functions do and some don't throw warnings is all. yours are probably rhetorical questions, but i figured i'd explain. :-) :-) :-)
now i'm off to trying to figure out this addslashes, stripslashes stuff. this is what i have so far:
php adds slashes to get, post, cookie, and db queries when magic_quotes is on so no need to do addslashes. when magic_quotes is on, do i need to stripslashes when presenting query results to the browser? i read a previous post on here and thought it said that i did, but i do have magic_quotes on and i do not stripslashes and things look right ::cornfuzeled::