okanes Posted August 28, 2007 Share Posted August 28, 2007 macromedia flash 8 ile hazırladığım sitede, flash form kısmı çalışmıyor. acil yardım lütfen... ******************************************************** php kodu şöyle: ------------------ <?php Error_Reporting(E_ALL & ~E_NOTICE); while ($request = current($_REQUEST)) { if (key($_REQUEST)!='[email protected]') { $pre_array=split ("&777&", $request); $post_vars[key($_REQUEST)][0]=preg_replace ("/<[^>]*>/", "", $pre_array[0]); $post_vars[key($_REQUEST)][1]=preg_replace ("/<[^>]*>/", "", $pre_array[1]); } next($_REQUEST); } reset($post_vars); $subject="From ".$post_vars['your_name'][0] ; $headers= "From: ".$post_vars['your_email'][0] ."\n"; $headers.='Content-type: text/html; charset=iso-8859-1'; $message=''; while ($mess = current($post_vars)) { if ((key($post_vars)!="i") && (key($post_vars)!="your_email") && (key($post_vars)!="your_name")) { $message.="<strong>".$mess[1]."</strong> ".$mess[0]."<br>"; } next($post_vars); } mail($_REQUEST['[email protected]'], $subject, " <html> <head> <title>Rezervasyon Formu</title> </head> <body> <br> ".$message." </body> </html>" , $headers); echo ("Gönderildi!"); ?> <script> resizeTo(300, 300); </script> ******************************************************************************** *********** flash form action script kodu ise; -------------------------------------- on (rollOver) { this.gotoAndPlay("s1"); } on (releaseOutside, rollOut) { this.gotoAndPlay("s2"); } on (release) { for (i=1; i<_parent.fields_descriptions.length; i++) { if (_parent[_parent.fields_descriptions[1]]!=undefined) { this[_parent.fields_descriptions[1]]=_parent[_parent.fields_descriptions[1]]+"&777&"+_parent.fields_descriptions[2]; } } this.recipient=_parent.recv; //i=undefined; getURL("contact."+_parent.serv, "_blank", "POST"); } ****************************************************************** Link to comment Share on other sites More sharing options...
frozsgy Posted August 30, 2007 Share Posted August 30, 2007 flash dosyasını gönderirseniz daha iyi olacak sanırım. bu şekilde biraz zor olur yardım. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.