473,406 Members | 2,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

contact page flash actionscript php

HI
I have a flash templates..that uses php as well
now I have a problem with my contact page as follows:

the user enter his name, email and message into flash input whose Var are: your_name, your_email and message.
then the user should press the send button and the actionscript code for the send button is:
on (release)
{
url_var = "server_option=" + _root.server_option + "&recipient=" + _root.recipient + "&your_name=" + _parent.your_name + "&your_email=" + _parent.your_email + "&message=" + _parent.message;

getURL("contact." + _root.server_option + "?" + url_var, "_blank", "GET");
_parent.your_name = "";
_parent.your_email = "";
_parent.message = "";
}


But when I actually press the send button a window pop up with the HTTP 404 error.
Here is also the contact page code that has been called :


<?
$subject="from".$_GET['your_name'];
$headers= "From:".$_GET['your_email']."\n";
$headers.='Content-type: text/html; charset=iso-8859-1';
mail($_GET['recipient'], $subject, "
<html>
<head>
<title>Contact letter</title>
</head>
<body>

<br>
".$_GET['message']."
</body>
</html>" , $headers);
echo ("your message was sent!");
?>
<script>
resizeTo(300, 300)
//window.close()
</script>


Can anyone help me to figure out why these codes do not work?....
Thank you
Paola
Jan 12 '07 #1
1 4674
iam_clint
1,208 Expert 1GB
your php code is sloppy and won't work, please refer yourself to the php forum for more help on this where a php expert can help you figure out whats wrong with your php.
Jan 12 '07 #2

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

Similar topics

0
by: Matt | last post by:
Hello, I am attempting to get a software prototype UI/demo built in Flash to talk with existing C++ (so I can exchange data and commands between the application-software already developed in the...
4
by: vunet.us | last post by:
I would like to create web charts. My site is using AJAX, so I thought of VML and SVG for chart graphics. But there is a browser compatibility issue. Flash would be a good solution but I do not...
3
by: bizt | last post by:
Hi, I have just started learning AJAX and need to learn a method where I can do the same to what AJAX does for HTML to Flash. Can this be done? Is there maybe a better way of allowing Flash to...
3
by: paolazi | last post by:
Hello I have a problem: I have a database(mysql) with the following fields: test, descr, title I want to display them into a flash file. Now my php file called list.php (which collect the...
13
iam_clint
by: iam_clint | last post by:
Starting a thread for flash tutorials and such.. got a good link? pm me. http://www.kirupa.com http://www.actionscript.org/resourc...ries/Tutorials/ http://www.gotoandlearn.com ...
6
elamberdor
by: elamberdor | last post by:
Hi All! Trying to get a drop down hide/show div on a html page triggered by a button in flash. (Intro: Very very Little experience in dynamic flash) setup: html page, flash map on page, button...
1
by: deluxmilkman | last post by:
What is the major difference between Flash 5 actionscript and Flash 6 actionscript ? I am trying to downgrade Flash 6 site to Flash 5. It doesn't give me error, but it's not working. Thanks
8
Catalyst159
by: Catalyst159 | last post by:
I am trying to create a contact form in Flash CS3 for my website. The form will be used to send an email to a specifies email addresse. I am a little confused as to how I can go about doing this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.