awiekupo
01-14-2004, 06:12 AM
If u had been following my thread, then this is the 2nd problem that i get.. the 1st one had been successfully solved.
Problem No 2
----------------
I got this link that auto generate the data through cgi files namely listAll.cgi
here is the link;
http://catcha.com.my/cgi-bin/happenings/city/listAll.cgi?tag=holidays&rec_no=5&category=localhol&keyword=&sel_date=14/01/2004&sel_city=Kuala+Lumpur&puid=&pcity=&evttype=future
Now i got a template namely content_page.phtml and i want to include all the data that was generate by listAdd.cgi file in the template.
The template code that i try to include the file is like below..
**********************************
<td width="538">
<?
include $main;
?>
</td>
**********************************
By right, i should be able to call the file through this link;
http://domain.name.com/content_page.phtml?main=http://catcha.com.my/cgi-bin/happenings/city/listAll.cgi?tag=holidays&rec_no=5&category=localhol&keyword=&sel_date=14/01/2004&sel_city=Kuala+Lumpur&puid=&pcity=&evttype=future
But somehow, it didn't work. Can anyone help me? Perhaps any syntax mistake that i made that I didn't realize?
Many thanks..
Problem No 2
----------------
I got this link that auto generate the data through cgi files namely listAll.cgi
here is the link;
http://catcha.com.my/cgi-bin/happenings/city/listAll.cgi?tag=holidays&rec_no=5&category=localhol&keyword=&sel_date=14/01/2004&sel_city=Kuala+Lumpur&puid=&pcity=&evttype=future
Now i got a template namely content_page.phtml and i want to include all the data that was generate by listAdd.cgi file in the template.
The template code that i try to include the file is like below..
**********************************
<td width="538">
<?
include $main;
?>
</td>
**********************************
By right, i should be able to call the file through this link;
http://domain.name.com/content_page.phtml?main=http://catcha.com.my/cgi-bin/happenings/city/listAll.cgi?tag=holidays&rec_no=5&category=localhol&keyword=&sel_date=14/01/2004&sel_city=Kuala+Lumpur&puid=&pcity=&evttype=future
But somehow, it didn't work. Can anyone help me? Perhaps any syntax mistake that i made that I didn't realize?
Many thanks..