RE: [PHP-WIN] Windows NT SMTP Set Up Help Needed

2002-01-25 Thread Charlie Killian
Hi Martin- Separating the parameters from the function call didn't work. I think the problem is with the WindowsNT SMTP server. How should the WindowsNT SMTP server be set up to make mail() work? Charlie > Could you try this out: > > $address = "[EMAIL PROTECTED]"; > $head = "From: PHP Test <[E

RE: [PHP-WIN] Windows NT SMTP Set Up Help Needed

2002-01-24 Thread Charlie Killian
Court- No luck yet. Here is the call to mail(): $mr = mail("[EMAIL PROTECTED]", "subject", "Line 1"); Simple and straight forward. But I'm still getting the error: Warning: Server Error in E:\Inetpub\wwwroot\ckmailtest.php on line 22 Charlie > I had a similar error running in CGI mode on WinNT

RE: [PHP-WIN] Windows NT SMTP Set Up Help Needed

2002-01-24 Thread Charlie Killian
I'm still receiving the error: Warning: Server Error in E:\Inetpub\wwwroot\ckmailtest.php on line 22 The SMTP and sendmail_from configuration are set correctly. I know this because when I change SMTP to a third party SMTP server the script works. However, I still can't get the mail services on Wi

Re: [PHP-WIN] WAP

2002-01-23 Thread Charlie Killian
I wrote a PHP class to check whether it is a WAP or Web browser depending on the HTTP_ACCEPT. You can view here: http://www.tizac.com/php/DeviceType.txt Hope this helps. Charlie "Laserjetter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanks, that would

[PHP-WIN] Re: Session and Header function

2002-01-23 Thread Charlie Killian
Make sure you session_write_close() before you redirect so the session data has a chance to be written. Charlie "St Ooi" <[EMAIL PROTECTED]> wrote in message 005001c1a302$9d1f97c0$010a@mis">news:005001c1a302$9d1f97c0$010a@mis... I have a problem with session and redirection. I have setu

[PHP-WIN] Windows NT SMTP Set Up Help Needed

2002-01-23 Thread Charlie Killian
A client is having trouble setting up SMTP services on their Windows NT machine so PHP can access it through the mail() function. SMTP is set to mail.theserver.com in the php.ini. Mail() works when set to a different mail server. PHP and the mail services are on the same machine. The SMTP server