How to terminate the current script – PHP

<?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");
?>

Leave a Reply

Your email address will not be published. Required fields are marked *