$str))); } try { $db = new PDO('mysql:host=localhost;dbname=sms', "sms", "cWrzmRByJtjZ2ax4"); } catch(Exception $e) { error("Unable to connect to the database"); } $gateTimeout = 5 * 60; ?>