PHP How to terminate the current script – PHP April 28, 2011 Pramod T P Leave a comment <?php chmod("../".$image_thumb_path_medium,0777) or die("Could not change permission thumb"); chmod("../".$image_thumb_path_medium,0777) or exit("Could not change permission thumb"); ?>