Need help.!

Discussion in 'Co-op Advertising Network' started by jfontestad, Dec 15, 2004.

  1. #1
    Ok, this is a little tricky here, but I think one of you guys can help me.
    I have a cgi script that gets pages from a feed, so what I'm doing is using:
    "system("php ../../../adnetwork.php");" In my CGI code to call the script I made named adnetwork.php. The code for adnetwork.php is:
    <div align="center"><font color="#FFFFFF" size="1"><?php 
        ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); 
        include ('/ad_network.php'); 
        echo $ad_network[0]; 
    ?>&nbsp;&nbsp;<?php 
        ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); 
        include ('/ad_network.php'); 
        echo $ad_network[1]; 
    ?></font></div>
    Code (markup):
    So I can run multiple ads from the cgi script template, but all I'm getting in return is "256". If anyone thinks they can help me please PM me and I'll be glad to give you the URL of my website, so you can check it out yourself.
    Thanks.
     
    jfontestad, Dec 15, 2004 IP
  2. jfontestad

    jfontestad Well-Known Member

    Messages:
    1,236
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    148
    #2
    I need help. Anyone?
    [bump]
     
    jfontestad, Dec 16, 2004 IP
  3. General Grant

    General Grant Well-Known Member

    Messages:
    318
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    160
    #3
    What script is it? That might be of help. I got it to work in a cgi script.
     
    General Grant, Dec 22, 2004 IP