Forum Moderators: coopster

Message Too Old, No Replies

passthru help

Unable to fork

         

gswahla

6:48 pm on Jul 16, 2003 (gmt 0)

10+ Year Member



I am getting the following error:

Warning: passthru() [function.passthru]: Unable to fork [url c:\inetpub\wwwroot\learn\customer_file.txt] in c:\inetpub\wwwroot\learn\check_names.php on line 32

I am learning PHP from a book, and the example it gives is
passthru ("cat /home/httpd/html/customer_file.txt");

as I am using Windows, I used 'URL' instead of 'cat'....dont know if thats right...and I typed in the following:

passthru ("url c:\inetpub\wwwroot\learn\customer_file.txt");

I also tried

passthru ("url [localhost...]

but no luck....anyone offer any help...

thanks in advance

GSWahla

Timotheos

7:04 pm on Jul 16, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi gswahla,

Check out all the user comments at
[php.net...]

Looks like a common frustration for Windows users :-)

Tim