Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

need help please with a summit botton
 

menohar




quote this post edit post

IP Loged report this post

Old Post  09-21-05 - 04:20 AM  
my name is rick .. new at flash mx. and dutch
I got this very neek flash template site:
http://www.missmatch.nl

With a summitbotton cald (versturen) in the index topic cald (inschrijven) b
ut
it doesn,t work.
The cancel botton is cald annuleren and this is the action scriptcode.

on (rollOver)
{
this.gotoAndPlay("s1");
}
on (releaseOutside, rollOut)
{
this.gotoAndPlay("s2");
}
on (release)
{
_parent.t2_2 = "";
_parent.t3_2 = "";
_parent.t4_2 = "";
_parent.t1_2 = "";
}

The sumit botton is cald versturen and this is the actionscript.
on (rollOver)
{
this.gotoAndPlay("s1");
}
on (releaseOutside, rollOut)
{
this.gotoAndPlay("s2");
}
on (release)
{
getURL("submit.php");
}


The php file build in dreamweaver mx has de following code.

<?
if(!empty($HTTP_POST_VARS['t4_2']) || !empty($HTTP_POST_VARS['t1_2']
) ||
!empty($HTTP_POST_VARS['t3_2']) || !empty($HTTP_POST_VARS['t2_2']))
{
$to = "missmatch@missmatch.nl";
$subject = stripslashes($HTTP_POST_VARS['t3_2']);
$body = stripslashes($HTTP_POST_VARS['t1_2']);
$body .= "\n\n---------------------------\n";
$body .= "Mail sent by: " . $HTTP_POST_VARS['t2_2'] . " <" .
$HTTP_POST_VARS['t4_2']  . ">\n";
$header = "From: " . $HTTP_POST_VARS['t2_2'] . " <" . $HTTP_POST_VARS	
1;'t4_2']
. ">\n";
$header .= "Reply-To: " . $HTTP_POST_VARS['t2_2'] . " <" .
$HTTP_POST_VARS['t4_2'] . ">\n";
$header .= "X-Mailer: PHP/" . phpversion() . "\n";
$header .= "X-Priority: 1";
if(@mail($to, $subject, $body, $header))
{
echo "output=sent";
} else {
echo "output=error";
}
} else {
echo "output=error";
}
?>

can somewhone pleas help me with tthe right codes to make this work so peopl
e
can send there name.. mailadres etc to my mailadres missmatch@missmatch.nl

Thanks Rick





Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 08:19 AM. Post New Thread   
  Previous Last Thread   Next Thread next
Flash Site Design archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top