Please advice on article embedding problem!
Posted: Thu 21. Apr 2005, 21:41
Hi, my webhost just turned off "allow_url_fopen" command for security reasons, and all my {URL} tags crashed. Essentially, I was calling a directory article listing from my index page.
My initial URL command : {URL:http://mysite.com/index.php?press}
Can someone advice how to go about embedding that URL alternatively?
First thing I tried to do was to use the [PHP] function to try to include that page, and wrote this: [PHP]include('/index.php?press');[/PHP] but am getting a parse error.
( Parse error: parse error, unexpected ')' in /home/.quinette/mysite/mysite.com/include/inc_front/front.func.inc.php(2307) : eval()'d code on line 1 )
Can someone help please? How do I do this correctly?
thanks,
VR
My initial URL command : {URL:http://mysite.com/index.php?press}
Can someone advice how to go about embedding that URL alternatively?
First thing I tried to do was to use the [PHP] function to try to include that page, and wrote this: [PHP]include('/index.php?press');[/PHP] but am getting a parse error.
( Parse error: parse error, unexpected ')' in /home/.quinette/mysite/mysite.com/include/inc_front/front.func.inc.php(2307) : eval()'d code on line 1 )
Can someone help please? How do I do this correctly?
thanks,
VR