Results 1 to 4 of 4

Thread: anyone want to help the NEWBIE

  1. #1
    ddt
    Guest

    anyone want to help the NEWBIE

    is it possible to have a cgi or asp script of some sort that would start a program on a web server e.g. when somone goes to http://myserver.com/cgi-bin/script.pl it starts an exe program thats already on the server.
    thanks for your time

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Perl has the system() function.

    Under Windows you could use the ShellExecute or CreateProcess API calls in your cgi app.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3
    ddt
    Guest
    ok well i hate to be a pain but could you give me an example? i dont know much about anything, could you like do the code for me i doubt its that hard the script only needs to be able to activate one program and the script desnt really need to do anything else,
    if you could do this i'd be extremely thankful,
    Nick

  4. #4
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Uh, if you're using Perl it comes with really good documentation on everything.

    Code:
    system("Notepad.exe");
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

Posting Permissions

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



Click Here to Expand Forum to Full Width