RE: [PHP-DB] Form processing

2007-09-13 Thread Naintara
You could look up the PHP function get_magic_quotes_gpc() When a form is posted, you could do a check like this: if ( get_magic_quotes_gpc() ) { //where $subject contains the subject string and $newsubject is what you use for the mail $newsubject = stripslashes ($subject); } Th

Re: [PHP-DB] Executing a query in the future

2007-09-13 Thread Christoph Boget
> > I am looking for a way in PHP to execute a query at some point in the > future. Here is my example; I am writing a page to checkout laptop > computers to instructors. I want the person that checks out the laptop to > receive an email when the laptop is close to being to, but I want this to >

RE: [PHP-DB] Executing a query in the future

2007-09-13 Thread Instruct ICC
From: "Mark Bomgardner" <[EMAIL PROTECTED]> Is there something that can run in the background that can run a page at varying intervals? markb Unix/Mac/Linux: cron Windows: task scheduler _ Kick back and relax with hot games and c

Re: [PHP-DB] Executing a query in the future

2007-09-13 Thread Brad Bonkoski
cron? or if on windows they have a scheduler, and then just run a command line PHP script that checks due dates and sends out emails as necessary, not sure you need a web page to send out email notifications... -B Mark Bomgardner wrote: I am looking for a way in PHP to execute a query at som

[PHP-DB] Executing a query in the future

2007-09-13 Thread Mark Bomgardner
I am looking for a way in PHP to execute a query at some point in the future. Here is my example; I am writing a page to checkout laptop computers to instructors. I want the person that checks out the laptop to receive an email when the laptop is close to being to, but I want this to be automate

Re: [PHP-DB] mssql_connect not working from command line

2007-09-13 Thread Instruct ICC
From: Chris <[EMAIL PROTECTED]> Instruct ICC wrote: You said something about 2 different configuration files. I'm just making up this name, but do you have something like: CLI_Configuration File (php.ini) Path => /etc/cli_php.ini as well as: Configuration File (php.ini) Path => /etc/php.ini I