i am forking a call to another php script becuase it must connect to a mail server. It can take up to a minute to send depending on attachments and network traffic and other factors.
here is the code i am using to call the scrip that does the email functions
exec("start c:\\php\\php d:\\web_projects\\ltrak\\wwwroot\forked.php > NUL &");
When i call the script this way, it still waits for the exec to return so it does not speed anything up. I thought forking was meant to start a new process so that the current one can continue on with what it is doing.
Any ideas?
platform is win2k pro php 4.3.3 iis5