Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Calling 'net start' from PHP
Name: RTAdams89 Date: October 8, 2007 at 17:30:49 Pacific OS: xp home CPU/Ram: na Product: na
Comment:
I have a PHP web page which shows various system info of the server it is served from. I have several windows command line outputs stored as variables with the PHP commands:
Later, I can display these variables on the page. All of them work except for the $services one. When I try t display $services, I just get a blank line. The same issue occurs for and "net" command output I try to store as a variable. Why is this?
Summary: You wouldn't do it directly with a PHP page. You would write (or find one already written) hardware control programs in C or C++ and call those programs from PHP. Although the link to the camera circ...
Summary: www.easyphp.org for download http://www.w3schools.com/php/default.asp not so great but if you want to learn some stuff about php try that. oh and one more... http://us2.php.net/manual/en/function.echo...
Summary: to test php: create a file let's say: test.php here's the content: <?php echo "Hello World"; ?> if only Hello World shows when you call that page from browser then the server is PHP ready... if not...