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);
?>
By Dwayne on Saturday, November 21st, 2009
Bookmark this category
Carol Green wrote:
> Do you have a suggestion on how to modify (remove existing scripts
and type in my company info) my template/files? It has a flash intro and
5 pages.
______________________________________
Assuming you’re using wordpress; go to the appearance tab, then go down
to the editor, you’ll be able to edit the template files directly in the
editor, from here you can select whichever files you want to edit, also
sometime the template designer might put a code or two to prevent you
from altering certain items (for example a link back to the designers
site), if you run across anything that look too much like gibberish
(encrypted) then just leave it be, sometimes you can change something
and it’s design to stop the wordpress theme from working properly. Also
I would backup everything before I start changes around stuff and if you
make a change it and works then I’d backup that change before moving to
the next.
Dwayne
Wordpress Help!
–
Dwayne Myers
(386)307-4289
Http://www.DreamDrivenDesigns.com
By Dwayne on Friday, November 20th, 2009
Bookmark this category
Here’s the code:
<meta http-equiv="REFRESH"
content=”0;url=http://www.the-domain-you-want-to-redirect-to.com”>
Optional page text here.
<meta http-equiv="REFRESH"
content=”0;url=http://www.the-domain-you-want-to-redirect-to.com”> is
the part that actually does the redirecting.
The number preceding the url (in this case zero) tells the browser the
number of seconds to wait before redirecting to the new url.
By Dwayne on Friday, November 20th, 2009
Bookmark this category
Here’s the code:
<meta http-equiv=”REFRESH”
content=”0;url=http://www.the-domain-you-want-to-redirect-to.com”>
Optional page text here.
<meta http-equiv=”REFRESH”
content=”0;url=http://www.the-domain-you-want-to-redirect-to.com”> is
the part that actually does the redirecting.
The number preceding the url (in this case zero) tells the browser the
number of seconds to wait before redirecting to the new url.
By Dwayne on Friday, November 20th, 2009
Bookmark this category
Carol wrote:
> Message body:
> I ordered a template that I cant figure out how to unzip (even with tutorial). After unzipping need to know how to upload to domain name/hosting.
>
> –
> This mail was sent from:
> DREAMDRIVENDESIGNS.COM WEBSITE FORM.
>
>
That’s no problem, you have to upload the unzipped files to the theme
direction on your hosting, then then activate the theme the in admin.
Thanks for the inquiry
–
Dwayne Myers
(386)307-4289
Http://www.DreamDrivenDesigns.com