SeanAIX430
Technical User
- Jun 29, 2001
- 189
Hi, I'm consolidating servers and moving part of my website from a FreeBSD box to a 2003 server. I tried to get php installed on my IIS at least 10 times without true success, so I started installing Apache and php together through a couple of programs. All to no avail. I have 2 quick tests that I run on my website to see if php is working. I have an info.php file that will show my php info, but depending on what i have installed I get a can't find page or presently just a blank screen. Then I hit the submit button on my contact form and would like to see it go to the thank you page and send an email but all it does it show:
$Value) $MsgBody .= "$Field: $Value\n"; $MsgBody .= $Divider . "\n" . $HTTP_USER_AGENT . "\n"; $MsgBody = htmlspecialchars($MsgBody); //make content safe // Send E-Mail and Direct Browser to Confirmation Page mail($SendTo, $SubjectLine, $MsgBody, "From: " . $SendFrom); header("Location: $ThanksURL"); ?>
on the page. So I know the form works on my FreeBSD box and the issue lies within my 2003 server and getting php to work with either IIS or apache. I've tried easyphp.org, i've downloaded php5 from php.net and followed the instructions to the letter, and on my latest apache install I can open their phpinfo.php file and have it show up correctly but neither of my files function correctly. Any ideas? I'm going crazy!
$Value) $MsgBody .= "$Field: $Value\n"; $MsgBody .= $Divider . "\n" . $HTTP_USER_AGENT . "\n"; $MsgBody = htmlspecialchars($MsgBody); //make content safe // Send E-Mail and Direct Browser to Confirmation Page mail($SendTo, $SubjectLine, $MsgBody, "From: " . $SendFrom); header("Location: $ThanksURL"); ?>
on the page. So I know the form works on my FreeBSD box and the issue lies within my 2003 server and getting php to work with either IIS or apache. I've tried easyphp.org, i've downloaded php5 from php.net and followed the instructions to the letter, and on my latest apache install I can open their phpinfo.php file and have it show up correctly but neither of my files function correctly. Any ideas? I'm going crazy!