Based on the below, can anyone tell me how to stop a large file from timming out ?
$productpath=getSetting("PRODUCTPATH");
if ($our_file != "") {
copy($our_file, "../$productpath/$our_file_name") or die("Couldn't Upload the file!");
$query = ("INSERT INTO products (price, description, name, prodname, imagename, catid) VALUES ('$price', '$description', '$our_file_name', '$prodname', '$imagename', '$group_id')");
$result = mysql_query($query) or die( "ERROR: " . mysql_error() . "\n");
} else {
die("Something went wrong hmmmmm........");
}