Jump to content

kc5tvd

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

kc5tvd's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. [!--quoteo(post=363856:date=Apr 11 2006, 07:16 PM:name=gl_itch)--][div class=\'quotetop\']QUOTE(gl_itch @ Apr 11 2006, 07:16 PM) [snapback]363856[/snapback][/div][div class=\'quotemain\'][!--quotec--] Hi, Im a bit of a newb with PHP so Im hoping you guys can help.... This script sends an email to my address with the users already entered variables. I use this to basically keep record. My script is as follows: [code]$msg="\n".date("m/d/Y")."\n".date("h/i/A")."\n".$_POST['first_name']." ".$_POST['last_name']."\n".$_POST['payer_email']."\n".$_POST['custom'];         mail("email@gmail.com",date("m/d/Y")",$msg,"from: email@gmail.com");[/code] Now as you can see in the last line, the subject right now just posts the date, so the message's subject would read "04/11/06", I want the subject to be "Purchase 04/11/06" How can I do this? No matter how I enter it, I get an error. Thanks in advanced. [/quote] I am not in a place where i can test it but try this. [code]$msg="\n".date("m/d/Y")."\n".date("h/i/A")."\n".$_POST['first_name']." ".$_POST['last_name']."\n".$_POST['payer_email']."\n".$_POST['custom']; $date = date('m/d/Y');         mail("email@gmail.com","Purchased $date","$msg","from: email@gmail.com");[/code]
  2. [!--quoteo(post=363339:date=Apr 10 2006, 10:58 AM:name=StirCrazy)--][div class=\'quotetop\']QUOTE(StirCrazy @ Apr 10 2006, 10:58 AM) [snapback]363339[/snapback][/div][div class=\'quotemain\'][!--quotec--] I'm guessing this is a .htaccess question... when i type my site name into google it comes up with www.mysite.com/index.php?page=23 in the search listing. is there something i can do so that it only gets listed as www.mysite.com and goes to the default index.php Thanks, S.C> [/quote] You can control search engine robots with meta tags. It may take some time for the search engines to update. Use this meta on the page you want indexed. <META NAME="ROBOTS" CONTENT="INDEX,NOFOLLOW"> Use this one on pages you don't want indexed. <META NAME="ROBOTS" CONTENT="NOINDEX,NOFOLLOW"> OR <META NAME"ROBOTS" CONTENT="NONE"> NOFOLLOW stopes the robots from following links on the page. FOLLOW tells the robots to follow the links on the page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.