do i have to still put it in the !!< >!!
Announcement
Collapse
No announcement yet.
Rss Feed - Php - Fragment
Collapse
X
-
This is the code that im putting into the fragement, page renamed to php
!!<<?php
$olderror_reporting =error_reporting(0);
include ("http://www.motocc.co.uk/RSSCB2.5/rss.php?url=http%3A%2F%2Fwww.motorcyclenews.com%2FMCN%2FOther%2FRSS%2FRSSData%2F%3FN%3D346%26Rpp%3D100&newpage=1&chead=&atl=1&desc=1&owncss=&eleminate=&auth=1&dts=1&width=600&max=5&maxfrom=10&maxto=25&tlen=0&rnd=1&bt=3&bs=None&nmb=1&ntb=1&naf=1&nst=1&nwd=0&nht=0&initime=1224079770&dlttime=0&dlen=0&bg=%23FFFFFF&bc=BLUE&tc=BLACK&ts=11&spc=&ims=&lc=%23333333&lstyle=1&rel=1&tfont=Verdana,+Arial,+Sans-serif&rf=".$HTTP_SERVER_VARS['SERVER_NAME'].$HTTP_SERVER_VARS['PHP_SELF']."&phpout=1");
error_reporting($olderror_reporting);
?>>!!
Comment
-
Hi,
I have uploaded the file to my other server
http://www.4-motorcycles.co.uk/moto.php without an issue.
Ive logged a call with fasthosts.
Thanks for your time
Comment
-
When you say it doesn't work, could you be a bit more specific?Attached FilesElysium:Online - Official Accredited SellerDeck Partner
SellerDeck Design, Build, Hosting & Promotion
Based in rural Northants
Comment
-
Just spoke to FASTHOSTS and they dont know why it wont work. It now has been escalated to 3rd line support
48 hours... Told them if they cant solve it then just move my webspace to the server where it does work..... "oh no, we cant do that sir, it will affect our automated system"
I dont want to kick off another post about the customer service experience at fasthosts.... But I take back all the nice things i said about them last month...
Comment
-
Now I'm not a happy camper. This is there reply.
Dear Darren,
Thanks for your email. Our newer Linux servers (and our Windows servers) have allow_url_include turned off, but our older Linux servers have it turned on. We will probably be turning it off across all our servers in the future.
Unfortunately we are not able to move your site to a server with allow_url_include turned on, so you will need to change your code (eg use fopen instead).
Regards,
Comment
Comment