system() call hangs

From: PHP fan - msn (public.yanning_at_covad.net)
Date: 10/30/04


Date: Fri, 29 Oct 2004 17:11:49 -0700

On my xp system, I am using Apache/php. the following (seamly simple system
call), hangs the browser (long time w no response, and I have to close
browser to end):

<?php
chdir("c:\tmp"); // directory is valid
print "testing..."; // so far so good
system("dir"); // hangggggg
?>

The same codes runs well on linux, win2k machines.
Did I missed something here? Please help.

Tom



Relevant Pages

  • Re: Getting Fox News to work with Firefox
    ... CNN or Fox. ... from them if their Website wouldn't support my choice of Web browser. ... Their response: An on-line application form by e-mail pointing to their ...
    (Fedora)
  • Re: html servlet flow
    ... A browsers' request is always an absolute path, ... Imagine for example, that the browser requests for the url '/random', and the webserver recognizes this as a special address which doesn't actually point to a file, but instead indicates that the server should generate a random 32-bit integer and send its decimal string representation as a response. ...
    (comp.lang.java.programmer)
  • Re: Getting Fox News to work with Firefox
    ... from them if their Website wouldn't support my choice of Web browser. ... Their response: An on-line application form by e-mail pointing to their ... Citibank is not the only credit card company in town, ... I'll use Konqueror as well when it suits what I ...
    (Fedora)
  • Re: Getting Fox News to work with Firefox
    ... from them if their Website wouldn't support my choice of Web browser. ... Their response: An on-line application form by e-mail pointing to their ... Citibank is not the only credit card company in town, ...
    (Fedora)
  • Re: HTTP header processing sequence
    ... HTTPWatch is doing that, not the browser. ... The browser issues a GET waits for response (no more GETs till it gets that ... server from the client. ... Initially it sends the request for the html ...
    (microsoft.public.win32.programmer.networks)