[PHP-WIN] redundant smtp server in php.ini under [mail function]

2001-10-15 Thread Nick Allen
Is there a way to specify more than one smtp server for resilience in the PHP.INI file? Or will I just have to use ini_set() in code? Alternatively - is there any way to specify your mail domain as a host and have it lookup a host via the mx record - thereby enabling it to use fallback servers sp

[PHP-WIN] Excuse the dumb question about page stats...

2001-10-15 Thread Nick Allen
We've a need to provide page stats so we can see what pages people are visiting. It is the case that every page in our web will need to be a PHP page then? I'm not keen to do this just for page stats as it will mean additional processing overhead but is that my only option? I'm running PHP4.0.6

[PHP-WIN] emailing a submission to a web based news service

2001-10-11 Thread Nick Allen
do you know if it's possible to email a new thread to a web based news server. assuming the news server was an nntp one, I think it's within PHP's capabilities to retrieve an email say every half and hour via POP3 and then post it to the News server using IMAP. If so how could we schedule this?

[PHP-WIN] Select statement not working

2001-04-19 Thread Nick Allen
Can't seem to troubleshoot this one... WinNT4.0 PHP4.0.3 cgi Apache (latest) Code queries an Access database via ODBC and returns an empty dataset although there are definately records in there. Connection is fine - no errors and a valid connection handle is returned. echoing the query string t