firefox
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by firefox
-
-
Im just wondering how many people have entirely switched over to xhtml.thanks
-
mail() error
in PHP
Hey, Im having some trouble with the mail() funciton. I want my visiters to be able to email my using this. My only problem is that I cant seem to get the Reply-To attribute to use what is entered in a text field. Code is as follows:
<?php$to = 'name@domain.com';$subject = $_POST["subject"];$message = $_POST["message"];$headers = 'From: news@4hacks.com' . "\r\n" . 'Reply-To:' $_POST["email"] . "\r\n"; mail($to, $subject, $message, $headers);?>
Any suggestions are helpful thanks,Adam
html or xhtml??
in HTML/XHTML
Posted
Thanks for replying. Ah I respect you guys, but I still use HTML I plan on switching when I get the time. What other languages do you use? I use: HTML, PHP, CSS, JavaScript, ASP, and although it is not a browser bound language, my absolute favorite is C!