How I can check if some string contains forward slash in PHP?
It is very simple:
preg_match ('~/~', $string);