Results 1 to 5 of 5
  1. #1
    pph Expert! Gordon's Avatar
    Join Date
    January 18th, 2005
    Location
    Edmonton Canada
    Posts
    5,781
    I am trying to execute a cgi script from a .php page. I am using this on html pages and it works fine, I have tried to use it on php pages but without sucess could any of you guys please let me know how it is done?

    <!--#exec cgi="/cgi-bin/ads/ads.cgi" -->

    thanks in advance

    Travel safe
    Gordon
    YouTrek

  2. #2
    Defender of Truth, Justice and the Affiliate Way
    Join Date
    January 18th, 2005
    Location
    The Swamp
    Posts
    7,503
    The easiest way would probably be to call the script up through an <a href> call instead of an SSI call if you can. If it is an ad script that you are trying to run, just put the <a href> tag where you want the banner to show. Otherwise you will have to do an htaccess to allow ssi to be parsed on a .php page.

    Keep Your Hands Off My Cookies

  3. #3
    pph Expert! Gordon's Avatar
    Join Date
    January 18th, 2005
    Location
    Edmonton Canada
    Posts
    5,781
    Thanks for your reply BLFH but I do not seem to understand.
    What I am trying to do is execute a CGI script that runs a rotating banner. I do not know what you mean or how to do it by using the <a href> tags. Would it be possible for you to explain a little more please?

    Travel safe
    Gordon
    YouTrek

  4. #4
    pph Expert! Gordon's Avatar
    Join Date
    January 18th, 2005
    Location
    Edmonton Canada
    Posts
    5,781
    I solved it now BLFH thanks for your help

    Travel safe
    Gordon
    YouTrek

  5. #5
    Defender of Truth, Justice and the Affiliate Way
    Join Date
    January 18th, 2005
    Location
    The Swamp
    Posts
    7,503
    Oh geez Gordon. Sorry. I missed your earlier post. You should have emailed me. Glad you got it working.

    Keep Your Hands Off My Cookies

  6. Newsletter Signup

+ Reply to Thread

Posting Permissions

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