We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
  • Pages:
  • 1
  • 2
mail() help
Topic Started: Jun 19 2005, 06:32 PM (898 Views)
Seth
Member Avatar
I has a pony
[ *  *  *  *  *  *  *  *  * ]
bttfpromo
July 5, 2005 08:43 PM
Code:
 
   mail('$email', 'Alienation Skins Referral Program Confirmation','$mailcontent','$headers');


Use....

Code:
 
   mail($email, 'Alienation Skins Referral Program Confirmation',$mailcontent,$headers);

bttfpromo is the only one who got it right.

Using single quotes inhibits variable interpolation in strings. Don't do it unless you mean for your variable names not to be parsed!

And ASP sucks.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Technology Chat · Next Topic »
Add Reply
  • Pages:
  • 1
  • 2