Hi all! A newbie here, so...
I have a php page using several includes. However, I am stumped on one thing.
I need to include the output of a cgi-bin perl script.
For example
My current directory path (that is the location of the calling page), from the root is:
/var/www/html/int/page.php
The file I need to include is called:
/cgi-bin/calendar310.cgi?CalendarName=ULMain&Type=Block&Amount=Week&PrintView=1&PrintColors=all
It is located in /var/www/cgi-bin/
I tried:
<?php include ("/cgi-bin/Calcium310.cgi?CalendarName=ULMain&Type=Block&Amount=Week&PrintView=1&PrintColors=all");
But that doesnt work. If I do:
<?php include ("http://servername.com/cgi-bin/Calcium310.cgi?CalendarName=ULMain&Type=Block&Amount=Week&PrintView=1&PrintColors=all");
It works, but the relative urls in the perl script output are all messed up.
How can I include this output? I have gotten it to include, but it includes the actualy perl script.
Thanks!