RE: [PHP] 'Running' a file from PHP script
| From: | Jon Haworth | Date: | Tue, 04 Dec 2001 17:03:20 +0000 |
| Subject: | RE: [PHP] 'Running' a file from PHP script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-76549@lists.php.net to get a copy of this message | ||
Aha, I understand :-)
Have you looked at exec() and passthru()?
Start with http://www.php.net/manual/en/ref.exec.php,
there are some notes
relating to Windows there...
Cheers
Jon
-----Original Message-----
From: George Pitcher [mailto:fmdev@yahoo.co.uk]
Sent: 04 December 2001 16:51
To: Jon Haworth
Cc: php-general@lists.php.net
Subject: Re: [PHP] 'Running' a file from PHP script
Jon,
Not quite as simple as that. I can run the db application without any
problem, but the db files tend to fall over occasionally. I have a script
which cxhecks every 5 mins and boots them up if they are down. I'm looking
for a way to get them up if the db search detects that they are down. I can
do the detection bit, it's the getting the db file up and running bit I
can't do.
George
**********************************************************************
'The information included in this Email is of a confidential nature and is
intended only for the addressee. If you are not the intended addressee,
any disclosure, copying or distribution by you is prohibited and may be
unlawful. Disclosure to any party other than the addressee, whether
inadvertent or otherwise is not intended to waive privilege or confidentiality'
**********************************************************************