duuudie, I am a dummy. I should have tried your "strip_magic_quotes" function yesterday. It did both things I was trying to do- it stripped the magic quotes slashes and if the user actually entered backslashes it preserved those. Thanks duuudie.
to strip slashes from array elements. its detecting if its array then take that element and pass it to function again till there are no more arrays and then strip its slashes (as far as i know you cant directly strip slashes from array). so this function would work like a charm on arays too same like a string.