<?php $olderror_reporting =error_reporting(0); include ("http://rssfeedreader.com/rss3/rss.php?url=http%3A%2F%2Fwww.miadhu.com%2Ffeed&newpage=1&chead=&atl=&desc=&owncss=1&eleminate=&auth=&dts=&width=300&max=10&tlen=0&rnd=1&bt=3&bs=Double&nmb=&ntb=&naf=&nst=&nwd=0&nht=0&dlen=0&lstyle=-1&lc=Blue&bg=White&bc=Gray&spc=&ims=&tc=&ts=11&tfont=Verdana,+Arial,+Sans-serif&rf=".$HTTP_SERVER_VARS['SERVER_NAME'].$HTTP_SERVER_VARS['PHP_SELF']."&phpout=1"); error_reporting($olderror_reporting); ?> Code (markup): Im placing it in a HTML page with these characters <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> how can I validate this? W3.org is showing over 100 errors.. Thanks
this is either the directory under your include is not existing or the directory has restrictions / other included data
change the include to this include ("http://rssfeedreader.com/rss3/rss.php?url=http://www.miadhu.com/feed&newpage=1&chead=&atl=&desc=&owncss=1&eleminate=&auth=&dts=&width=300&max=10&tlen=0&rnd=1&bt=3&bs=Double&nmb=&ntb=&naf=&nst=&nwd=0&nht=0&dlen=0&lstyle=-1&lc=Blue&bg=White&bc=Gray&spc=&ims=&tc=&ts=11&tfont=Verdana,+Arial,+Sans-serif&rf=".$HTTP_SERVER_VARS['SERVER_NAME'].$HTTP_SERVER_VARS['PHP_SELF']."&phpout=1"); Code (markup): if its still not working display the inlcude url using echo and paste it in your web browser and see what error it throws up
You might need to turn on that PHP directive which allows external URL includes. allow_url_include = 1 allow_url_fopen = 1 in you php.ini