Witam
Jestem w temacie totalnie zielony
robilem formularz do wysylania maili ze strony wg. wzorca i wszystko napisalem tak jak pokazali a tu blad:
Parse error: syntax error, unexpected T_VARIABLE in
/home/kubacci/ftp/contact.php on line
10
moj contact.php
1 <?php
2
3 $your_name = $_GET['imie'];
4 $your_email = $_GET['email'];
5 $your_topic = $_GET['temat'];
6 $your_message = $_GET['tresc'];
7
8 $recipient_email = "[email="info@kubadesign.pl"]info@kubadesign.pl[/email]"
9
10 $subject = "from " . $your_email;
11 $headers = "From: " . $your_name . " <" . $your_email . ">\n";
12 $headers .= 'Content-type: text/html; charset=iso-8859-2';
13
14 $content = "<html><head><title>Mail kontaktowy</title></head><body><br>";
15 $content .= "Imie: <b>" . $your_name . "</b><br>";
16 $content .= "E-mail: <b>" . $your_email . "</b><br>";
17 $content .= "Temat: <b>" . $your_topic . "</b><br><hr><br>";
18 $content .= $your_message;
19 $content .= "<br></body></html>";
20
21
mail($recipient,$subject,$content,$headers); 22 ?>
23 <html>
24 <body bgcolor="#282E2C">
25 <div align="center" style="margin-top:60px;color:#FFFFFF;font-size:11px;font-family:Tahoma;font-weight:bold">
26 Twoja wiadomość została wysłana. Dziękujemy.
27 </div>
28 </body>
29 </html>
30 <script>resizeTo(300, 300)</script>
Bede wdzieczny za pomoc.
Pozdrawiam
Ten post edytował Kubacci 15.01.2008, 14:57:12