Ok, I'm using php-win, and have the following file, c:\mail.php
<?
mail('e****@myaddress.com','a test','a php-win cli test');
?>
When I go to start|run or cmd and type...
php-win -f c:/mail.php
it just sends the mail, no command window popping up or anything.
I have another file, c:\test.php...
<?
exec('start php-win -f C:/mail.php');
?>
Now when I got to start|run or cmd and type...
php-win -f c:/test.php
it flashes up (very fast) a command window, obviously thats running the mail
script. I want this to GO AWAY as it's doing my head in! Anyone know how? I
thought php-win wasn't supposed to show any cmd windows? Please help, I'm
desperate!
Cheers
Oli/M_O