what does:
if(fork())
do? does this fork the process if it can?
is fork not allowed in some systems? this script is most likely going to be running on *nix, I'm very unknowing about how to make any forked processes. There are no easy to understand tutorial on it :)
would it be better to have the web-based program actually gather the information, then pipe this info to another script that only does the mailing? this seems to be a somewhat the same idea to fork() to a child process to do the dirty work. Then would that script not fall into the timeouts of the cgi program?
>>you should also close STDIN
probably a good idea!
Seems simple to just mail whoever the owner of the list is every time a batch goes out, or when the mailing is done to keep tabs.
I'm stil a bit shaky on how to do this, does anyone else have any good advice?
-justin simoni
!skazat!
In reply to RE: Re: Getting Close and Cuddly with the sleep() function
by skazat
in thread Getting Close and Cuddly with the sleep() function
by skazat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |