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
>
> 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
>
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
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
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
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