• Home
  • Services
  • Portfolio
  • Testimonals
  • Blog
  • Contact
  • Subscribe to our Blog

    Enter your email address:

    Delivered by FeedBurner

  • Skype Online Status

    Call me! - Dwayne Myers: My status is error
    Call me! - Dwayne Myers: error
    Chat with me - Dwayne Myers: error
    Add me to Skype - Dwayne Myers: error
    View my profile - Dwayne Myers: error
    Send me a file - Dwayne Myers: error
  • Web Design Resources

    • Common Website Problems
    • Customer Testimonials
    • Free Wordpress Themes
    • General
    • SEO Resources
    • Website Tutorials
    • Wordpress Tutorials
  • Contact Form

    Submit your inquiry for a quick response.

    Your Name (required)

    Your Email (required)

    Message

    Sending ...

Wordpress Tutorials Web Design Tutorial: Php Mail Code

By Dwayne on Sunday, November 29th, 2009

Bookmark this category
How to send html mail using php. In custom forms etc.

<?php
$to = “somebody@example.com, <a
href=”mailto:somebodyelse@example.com”>somebodyelse@example.com”;
$subject = “HTML email”;

$message = “

This email contains HTML Tags!








Firstname Lastname
John Doe

“;

// Always set content-type when sending HTML email
$headers = “MIME-Version: 1.0″ . “rn”;
$headers .= “Content-type:text/html;charset=iso-8859-1″ . “rn”;

// More headers
$headers .= ‘From: ‘ . “rn”;
$headers .= ‘Cc: <a
href=”mailto:myboss@example.com”>myboss@example.com’ . “rn”;

mail($to,$subject,$message,$headers);
?>

Share/Save

No Comments


Wordpress Tutorials Diference between A and CNAME

By Dwayne on Sunday, November 1st, 2009

Bookmark this category
*CNAME Record*

CNAME records are domain name aliases.

Often computers on the Internet have multiple functions such as web-server, ftp-server, chat-server etc.

To mask this, CNAME-records can be used to give a single computer multiple names (aliases). For example computer “www.mycomputer.com” may be both a web-server and an ftp-server, so two CNAME-records are defined: “www.mycomputer.com” = “xyz.com” and “ftp.mycomputer.com” = “xyz.com”.

Sometimes a single server computer hosts many different domain names such as web servers that host many sites. In this example many CNAME records may be defined such as “www.abc.com” = “www.xyz.com”.

The most popular use the CNAME-record type is to provide access to a web-server using both the standard “www.domain.com” and “domain.com” (without the www). This is usually done by creating an A-record for the short name (without www), and a CNAME-record for the www name pointing to the short name.

CNAME-records can also be used when a computer or service needs to be renamed, to temporarily allow access through both the old and new name.

A CNAME-record should always point to an A-record to avoid circular references.

Share/Save

No Comments


  • Home
  • Blog
  • Portfolio
  • Services
  • Service Areas
Copyright © 2011 DreamDrivenDesigns.com | TheProfessionalWebDesignCompany.com | Other Resources