Life Insurance - Flights - Loan - Secured Loans - Mobile Phones

PDA

View Full Version : Need help.!


jfontestad
Dec 15th 2004, 11:23 am
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>
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 16th 2004, 11:58 am
I need help. Anyone?
[bump]

General Grant
Dec 22nd 2004, 3:26 pm
What script is it? That might be of help. I got it to work in a cgi script.