Jump to content

[SOLVED] Not sure why this error is happening...


The14thGOD

Recommended Posts

Hey, I tried my script on two servers, it's just a simple email script..so I don't know why it's messing up, this is the error:

Error 500 - Internal server error

 

An internal server error has occured!

Please try again later.

 

this is the code:

<?php
import_request_variables('pg');
if ($send) {
	if ($name && $email) {
		$body = "Name: $name \r\n";
		$body .= "E-mail: $email";
		$subject = "New Core Value Entry";
		//$sendto = "someone";
		mail("[email protected]",$subject,$body,"From: $name");
		header("Location: question01.html");
		exit(0);
	}else {
		header("Location: register.php");
		exit(0);
	}
}
?>

 

Thanks in advanced

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.