Ok thank you for the information. Ive implemented it, so it should be okay now.
You can check the shout.php that the shoutbox uses at
http://www.exca.be/website/shout.php
While i'm here, I also have another thing to solve, I started on the contactpage.
www.exca.be => contact
I followed this tutorial:
http://foamers.net/blogger/archives/45.
The actionscript I have on the submit-button is:
code:
on (release) {
_parent.getURL("http://www.exca.be/website/contact.php","_blank","GET");
_parent.message="Your message has been sent. Thanks for contacting!";
}
These are the variable names of the textfields:
code:
lastname
firstname
email
message
And this is the contact.php script:
code:
<?php
$your_lastname = $_GET[‘lastname’];
$your_firstname = $_GET[‘firstname’];
$your_email = $_GET[‘email’];
$your_message = $_GET[‘message’];
$recipient_email = "info@exca.be"
$subject = "From " . $your_email;
$headers = "From: " . $your_name . " <" . $your_email . ">\n";
$headers .= ‘Content-type: text/html; charset=iso-8859-1';
$content = "<html><head><title>Contact letter</title></head><body><br />";
$content .= "Last Name: <b>" . $your_lastname . "</b><br />";
$content .= "First Name: <b>" . $your_firstname . "</b><br />";
$content .= "E-mail: <b>" . $your_email . "</b><br /><hr /><br />";
$content .= $your_message;
$content .= "<br /></body>";
mail($recipient_email,$subject,$content,$headers);
?>
<html>
<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.
</div>
</body>
</html>
<script>resizeTo(300, 300)</script>
Check yourself what the problem is... it's just giving a blank page
I actually don't want the red part too... I don't want any page to pop up, just the message that says "Your message has been sent. Thanks for contacting!"...