Log in

View Full Version : execute command line



hemi
11-10-2009, 05:28 AM
hi

can we execute dos prompt (command line) with PHP. if it is please let me know how to do it

i did not do this type of prog. if anyone knows how to do it plz,plz,plz help me out.i need it ver badly

maneetpuri
11-10-2009, 12:57 PM
Hi,

You can use exec() function of PHP for this. There are some prerequistes for it and you can find it at the following URL: -

http://in2.php.net/manual/en/function.exec.php

Cheers,

~Maneet