Jump to content

ashonline

New Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

ashonline's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi All I am looking at having a career change by this time next year. I wish to begin a career in PHP web development after working in the area of technical support & network administration for the past 5 years. I do have minimal exposure to PHP & MySQL. Can anyone please offer some advice? What sort of training or certification would you recommend? What sort of work could I undertake in my own time to get up to speed? Thanks Ash
  2. Unfortunately i don't have access to the old PHP installation - the server machine was upgraded from Win2000/PHP3 to Win2003/PHP5. The php.ini file has the following lines: SMTP = pa01 smtp_port = 25 sendmail_from = info@domain.com Exchange is on the 'pa01' server. I believe the issue does lie with the PHP installation as opposed to the code as the website works fine on my personal Fedora/PHP5 server.
  3. Hi I am currently updating a PHP-based website on a Windows 2003 web server. Everything seems to work ok except for a form which sends an email via an Exchange SMTP server on another server machine. This worked ok when the website was on a server with an old version of PHP (3.something). It was talking to the same SMTP server which hasn't changed. Web Server: Windows 2003 SP1 IIS 6.0 PHP 5.2.0.0 The code snippet is as follows. It always executes the "else" statement. [code]$From = $_REQUEST['from']; $Subject = "White Papers Website Response"; $Body = "New User Registration   \nName    : " . $title . " " . $firstname . "\n" . $lastname .   "\nCompany : " . $company .   "\nIndustry: " . $industry .   "\nEmail  : " . $email .   "\nPhone  : " . $phone; $To = "email@domain.com"; //$_REQUEST['sendto'];   if (mail($To, $Subject, $Body, "From: " . $From . "\n X-Mailer: PHP/" .     "Reply-To: webmaster@{$_SERVER['SERVER_NAME']}\r\n" . phpversion() ) ){       setcookie("registered", "true", time()+31536000);       header("Location: white_papers.php");     }     else{       $email_error = true;     }[/code] Can someone please assist? Any help much appreciated! Thanks Ash
×
×
  • 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.