Forum Moderators: coopster

Message Too Old, No Replies

PHP Include

php rss2html

         

J2Park

6:48 am on Nov 17, 2005 (gmt 0)

10+ Year Member



Hi WebmasterWorld,

I am kinda new here, been reading a while but never posted.

Anyway, I am having a problem getting a php include to work properly. I have been told my webhost uses cURL for php and I cant seem to get a php include to work properly. I have been able to get this exact same code working on another host so I know I am almost there. Just need a some help.

Here is the include:

<?php @include("rss2html.php?XMLFILE=http://www.example.com/feed.xml&TEMPLATE=template.html&MAXITEMS=50");?>

the rss2html.php and template.html are hosted on my site

the external link

http://www.example.com/feed.xml

is another site I have on a separate host.

I need some help to get this working with cULR. I checked the rss2html.php file and it uses cULR.

Any help is appreciated!

[edited by: Woz at 10:51 am (utc) on Nov. 17, 2005]
[edit reason] Examplified URLs [/edit]

ogletree

7:20 am on Nov 17, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Some ISP's won't allow that kind of thing. Send an email to support asking them. Also do a search on google like site:isp.com php inlucde