Hi, I use the following code to restore a database file sql.sql and it works fine but when sql.sql file is large I got :
Fatal error: Maximum execution time of 30 seconds exceeded ...
My sql.sql file is about 15 MB is there a way to take over this problem notice that i don't have access to php.ini ??
$conn = mysql_connect ($server, $username, $password);
mysql_select_db ($db, $conn);
$sql = join("", file($file));
$sql = split(";", $sql);