By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,304 Members | 1,242 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,304 IT Pros & Developers. It's quick & easy.

contact.php not working from flash on vurtual server

P: 1
Hi any one help with this one below is the "contact.php form" and the contents of the "button "from with in flash! but all i get back is the field names but no content any ideas???
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
if (!empty($_GET))
else if (!empty($HTTP_GET_VARS))

if (!empty($_POST))
else if (!empty($HTTP_POST_VARS))

$to = "";
$subject = "Contact letter";
$message = "Hello! \n";
$message .= "Name: " . $_GET['name'] . "\n";
$message .= "Phone: " . $_GET['phone'] . "\n";
$message .= "E-mail: " . $_GET['email'] . "\n";
$message .= $_GET['message'] . "\n";
$headers = "From: " . $_GET['email'] . "\r\n" .
"Reply-To: " . $_GET['email'] . "\r\n" .
"X-Mailer: PHP/" . phpversion();

mail($to, $subject, $message, $headers);

<body bgcolor="#282E2C">
<div align="center" style="margin-top:60px;color:#FFFFFF;font-size:11px;font-family:Tahoma;font-weight:bold">
Your message was sent. Thank you.
<script>resizeTo(300, 300)</script>r


The button from with in flash 8
on (release) {

and the outcome
I am running on a vurtual server with
you can see what is on or off in php by going to
although i do not understand this!
also safe_mode is on and i do not know how to trn it off if it makes a diferance?
and i have made a htaccess file but to no avail.

best wishes

Derek Moore
Feb 25 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.