[ nindza@ @ 08.11.2007. 05:48 ] @
Dobro jutro prijatelji Imam mali problem koji nikako ne mogu da resim, a to je da povezem flash form i php script. Flash code Code: if (name != "" && name != undefined && email != "" && email != undefined && country != "" && country != undefined && comment != "" && comment != undefined) { if (checkemail(email)) { loadVariables("form.php", "", "POST"); showerror("Sending data..."); name = ""; city = ""; country = ""; tel = ""; email = ""; url = "http://"; subject = ""; comment = ""; error = "Thank you, your message has been sent !"; } // end if } I php code Code: <?php $sendTo = "[email protected]"; $headers .= 'From: ime_from<[email protected]>' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $data = " Name : $name <br> City : $city <br> Country : $country <br> Tel : $tel <br> Email : $mail <br> Website : $url <br> Subject : $subject <br> Message : $message <br> "; mail("$sendTo","Web Contacts","$message","$headers"); ?> I dobijem prazu formu gde gresim ![]() Unapred pono hvala |