#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    2
    Rep Power
    0
    I'm new to php, could anybody tell me the function used for executing a cgi script? I've tried include(), but that just prints out the source.

    Thanks in advance,
    ReNeGaDe
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Location
    Ontario, Canada
    Posts
    498
    Rep Power
    18
    Use virtual() to execute local CGI scripts in a PHP document.

    ------------------
    To alcohol! The cause of, and solution to, all of life's problems. -- Homer Simpson

Similar Threads

  1. Perl CGI script, closing pipe to sendmail
    By barryk0306 in forum Perl Programming
    Replies: 0
    Last Post: February 11th, 2004, 10:40 AM
  2. mod_rewrite and Apache 2 cgi script not working
    By jroamo in forum Apache Development
    Replies: 0
    Last Post: February 10th, 2004, 01:22 PM
  3. Trying to call cgi script onunload via image.src
    By oscarf in forum HTML Programming
    Replies: 3
    Last Post: February 6th, 2004, 11:18 PM
  4. calling a cgi script from the PHP script
    By gursharn in forum PHP Development
    Replies: 10
    Last Post: December 29th, 2003, 02:27 PM
  5. Executing a shell script from within Perl
    By mtaloni in forum Perl Programming
    Replies: 2
    Last Post: December 22nd, 2003, 11:23 PM

IMN logo majestic logo threadwatch logo seochat tools logo