Jump to content

schilders

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

schilders's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello, I am a PHP newbie and need an urgent fix to an issue. I wrote a PHP script as part of my web form that emails data entered by the user when the form is submitted. My server uses SSL. How do I send the outgoing email securely? Is this something that PHP handles? Or, is this a function of my web hosting provider? Thanks, in advance, for your help.
  2. Good Evening, I'm using Dreamweaver 8 to create a registration site. I need to send an email to a registered user confirming their login credentials. I attempted to use the code pasted below: </head> <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <?php $UserName=$_POST['UserName']; $Password=$_POST['Password']; $Email=$_POST['EmailAddress']; $to= $_POST['EmailAddress']; $subject= "Login Credentials for Seeding the Future Registration Site"; $receiptMessage = "Thank You for Creating a User Name for the Seeding the Future Registration Site\n\n\nHere is what you submitted to us\n\n" ."User Name: ".$UserName. "\n" ."Password: ".$Password. "\n" ."Email: ".$Email. "\n" mail($to,$subject,$receiptMessage); ?> However, when I loaded the page to my server I received an error message: Parse error: parse error, unexpected T_STRING in /usr/local/apache/htdocs/seeding_staging_sid/user_registration.php on line 123 where line 123 is my mail statement. Thanks, in advance, for your help.
×
×
  • 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.