<?php // Everything you enter here will be executed by our servers. Try it! $str = "safsad fd sm.pfle.jpg"; echo $a = strrpos($str,"."); echo substr($str,0,$a);
You have javascript disabled. You will not be able to edit any code.