SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Threaded View

  1. #1
    SitePoint Member
    Join Date
    Jan 2014
    Location
    Washington, DC
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Recommend Us Script

    The Recommend Us Script does not work with Google Chrome, Internet Explorer or Firefox. Could someone take a look at it and see if the error can be fixed. I am assuming there is a minor typo some where in the code.

    Look here: sitepoint.com/forums/showthread.php?459783-Recommend-Us-Script

    Thank you.

    All three web browers show this:

    Code:
    ' . $message . '
    
    '; } $themessage = '
    
    Hello,
    
    Your friend ' . $yourname . ' has sent you an invitation to visit our site.
    
    Please visit our site at: http://www.YourURL.com
    
    Your friend also attached a message, which was:
    
    ' . $come . '
    
    Very truly yours,
    YourURL.com
    -------------------------------------
    
    Note:
    ' . $yourname . ' IP address is ' . $address . '.
    '; $subj= "A Message From: " . $yourname . " "; $header = "Return-Path: " . $email . "\r\n"; $header .= "From: $yourname <" . $youremail . ">\r\n"; $header .= "Content-Type: text/html; charset=iso-8859-1;\n\n\r\n"; @mail ($email,"$subj",$themessage,$header); $message2 = 'Thank You For Recommending YourURL To Your Friends!
    You can use the form again to recommend us to your other friends.
    '; } ?>
    
    Recommend YourURL.com To Your Friends & Partners:
    
    Your Name:
    
    Your Email Address:
    
    Your Friend's Email Address:
    
    Your Message:
    
    www.YourURL.com
    Last edited by Mittineague; Jan 3, 2014 at 23:07.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •