Re: Help! I'm getting pissed...
| From: | John Catron | Date: | Sun, 08 Jul 2001 06:49:06 +0000 |
| Subject: | Re: Help! I'm getting pissed... | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8173@lists.php.net to get a copy of this message | ||
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 <toni.ranta@mail.htk.fi> 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: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/