Hi,

I remember doing this once under linux:

$pid = readlink("/proc/self");

but there seems to be a special function for it :

$pid = getmypid();


bvr.

On Tue, 29 Jan 2002 13:26:48 +1300, Matthew Delmarter wrote:

>Is there any way to get the process id of a script running on Apache?
>
>Regards,
>
>Matthew Delmarter





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to