Re: Problem with Exec()
| From: | Zbyněk Škvor | Date: | Wed, 17 Jan 2001 16:16:04 +0000 |
| Subject: | Re: Problem with Exec() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35063@lists.php.net to get a copy of this message | ||
Hello,
Is there anybody in this conference who can tell me whether exec() will work
under WinNT in future PHP releases?
I am bound to use Windows. Currently I am working this around so that I have a
daemon under NT. Daemon watches out for commands, written by PHP into a file,
and does the exec() job on his own. PHP then reads results from another file
....
It works, but I hate it ....
Thanks Zbynek
Jon Haworth wrote:
> |
> | It should also be noted that the system interaction functions (namely,
> | passthru(), exec(), system() and popen()) are
> | broken/incorrectly implemented,
> | actually, its windows that's incorrectly implemented, but be
> | that as it may, the
> | functions do not work with windows).
>
> Well, I guess that clears that up... cheers Mr. Gates
>
> |
> | To the original poster:
> |
>
> Hello....
>
> | Use PHP's built-in mail() function instead, don't fork
> | out to sendmail,
> | actually, better yet, use linux :-).
>
> I spotted the mail() function about ten minutes after I posted... (and I
> would be on a linux box if I could persuade my boss)
>
> Cheers
> Jon
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
-----------------------------------------------------------------------
Zbynek Skvor
Coordinator
Region 8 IEEE Voluntary Contribution Fund
mail: z.skvor@ieee.org
fax: +420-2-3119958
www: http://www.cvut.cz/ascii/fee/k317/personnel/skvor