Hi, I was using WebAdverts and was able to call a SSI banner through the DBMan script but now I'm trying to use another program and can't get it to work.
I placed a regular .shtml file in my /cgi-bin/dbman/ directory to make sure the program works and it did.
<!--#include virtual="../look/ssirand.cgi?REGION=Front_Page" -->
I found some code here and used it,it didn't work when I did a search. The results were that the background of the web page showing fine (image), then all the error info was smashed to the right.
www.gossamer-threads.com/scripts/forum/resources/Forum12/HTML/000311.html
This is what I used.
open(FILE, "/u39/staats2/cgi-bin/look/ssirand.cgi?REGION=Front_Page") or die("Couldn't open the file.");
@lines = <FILE>;
close(FILE);
foreach $line (@lines) {
print $line;
}
}
And this with closed off print statements.
&include_file;
I'v tried a dozen different ways of calling the script, absolute url ect, no luck. What is the proper url to use?
Any insight would be great, thanks
Shane
[This message has been edited by shane1800 (edited July 03, 1999).]
I placed a regular .shtml file in my /cgi-bin/dbman/ directory to make sure the program works and it did.
<!--#include virtual="../look/ssirand.cgi?REGION=Front_Page" -->
I found some code here and used it,it didn't work when I did a search. The results were that the background of the web page showing fine (image), then all the error info was smashed to the right.
www.gossamer-threads.com/scripts/forum/resources/Forum12/HTML/000311.html
This is what I used.
Code:
sub include_file { open(FILE, "/u39/staats2/cgi-bin/look/ssirand.cgi?REGION=Front_Page") or die("Couldn't open the file.");
@lines = <FILE>;
close(FILE);
foreach $line (@lines) {
print $line;
}
}
And this with closed off print statements.
&include_file;
I'v tried a dozen different ways of calling the script, absolute url ect, no luck. What is the proper url to use?
Any insight would be great, thanks
Shane
[This message has been edited by shane1800 (edited July 03, 1999).]