Results 1 to 3 of 3
  1. #1

    shell commands in html page

    I have little test projekt and im just wondering how do i input normal shell command in html code/page.

    I want to create a link and when that link is pressed command runs in server.
    Code goes in and code comes out..

  2. #2
    Join Date
    Jun 2003
    i guess you would need to use some kind of cgi, perl, sh, php
    link or form would send the command to the server, and it will get executed there

  3. #3
    Join Date
    Mar 2005
    Cardiff, Wales, UK
    If you've got PHP enabled (and safe_mode is off), then this will probable be the easiest:

    echo system('/path/to/command options');
    Jonathan Wright (Technical Director, JAB Web Solutions Limited).

    UK Hosting and Reseller Hosting from JAB Web Solutions

Posting Permissions

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