Forum Moderators: coopster
However, I've set up a page in the cms to call the script and when I use the given code:
<?php
include_once("http://www.mysite.com/cgi-bin/amazon_products_feed.cgi");
?>
Any suggestions?
btw - I have swapped 'mysite.com' for my domain name, I know you're not supposed to display web addys on this forum.
Thanks
So is PHP > 4.3.0?
Is allow_url_fopen enabled?
The function is case sensitive - are your filenames correct?
I noticed the extension on your included file is .cgi. Is your PHP parser setup to handle this extension?
<edit>I'm assuming the included file, "http://www.mysite.com/cgi-bin/amazon_products_feed.cgi", was meant to be processed as PHP. Correct me if I am wrong.</edit>
If the page is displayed when called in the address bar then it works okay, yes/no? Or am I missing the point?