Results 1 to 2 of 2

Thread: execute command line

  1. #1
    Join Date
    Aug 2009
    Posts
    74
    Thanks
    7
    Thanked 1 Time in 1 Post

    Default execute command line

    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

  2. #2
    Join Date
    Sep 2008
    Posts
    56
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Default

    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •