Also this function could abctually be enhanced.
I for myself would simply use following code.
function safeescape( $input ){
$return = addcslashes( $input , '"\'' );
return $return;
}
Probably we could also use addslashes for the whole system (I've just chosen addcslashes to do exactly the same than safeescape did). So we actually do not need a safeescape() anymore (seems to be a relict out of those PHP3 times).
I haven't recognized any problems so far with just addslashes instead of safeescape.
So long - And thanks for all the fish.