PHP3 Form Mailer

i have a send button that is on a contact page and the actions on the button are:


on (release) {
	if (name eq "" or message eq "" or from eq "") {
		stop();
	} else {
		lineAdapt();
		loadVariablesNum("/php_uploads/mail.php3", 0, "POST");
		gotoAndStop(26);
	}
}


and then the contents of my php3 file are:


<?php
mail("myemail@whatever.com", $name, $message, "From: PHPMailer
Reply-To: $from
X-Mailer: PHP/" . phpversion());
?>

of course that’s not my email but i just put that for privacy purposes.

anyway, i know that godaddy supports php3. so any clues as to what the problem might be. i don’t know a whole lot about php3 so any help is greatly appreciated. thanks.