php multiple die statements
snippet in php

php multiple die statements

user2394

<?php 
// blank url of site 
// so that die() is executed 
$site = ""; 
  
// open url else die (exit) 
fopen($site, "r") 
or die("Unable to connect to given site."); 
?>