You are trying to run a Unix command on Windows. Won't
work. Try replacing the rm with del and the "/" to a "\"/
"/" is the default path separator on Unix and
"\" is the one for Windows.
Be careful running scripts you know nothing about, especially
if they involve "rm" or "del".
John
--- Toni Ranta <[EMAIL PROTECTED]> wrote:
> Why do I keep getting error messages such as:
>
> Warning: Unable to fork [rm -rf ../userlist/*] in
> c:\ohjelmatiedostot\apache group\apache\htdocs\chat\admin\admin.php on
> line 331
> Warning: Unable to fork [ls ../users | grep -c ""] in
> c:\ohjelmatiedostot\apache group\apache\htdocs\chat\admin\admin.php on
> line 350
>
> This problem occures with the exec function, as you all might have
> understood from the above error messages.
>
> I'm using PHP4.0.6 on Win98 platform with Apache 1.3.20 server.
>
> I just can't figure this out. Someone a little more experienced told me,
> that this particular php-script can't work under Windows. I'm not so
> familiar with the subject, so I'm just banging my head to the wall with
> this, trying to search an answer to this.
>
> So, if anyone can tell me, is it possible to get this problem fixed
> without changing OS, please tell me how to do so. I'm not in the mood of
> installing linux or any other second OS on my computer.
>
>
>
>
> --
> PHP Windows 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]
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
--
PHP Windows 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]