Why i am unable to read ?
Linux, Apache, MySQL, PHP
3
Posts
2
Posters
0
Views
1
Watching
-
<?php $url = "http://www.nseindia.com/content/equities/TopGainers.htm"; $html = strtolower(implode('', file($url))); echo $html; ?> Why i am unable to read this file ?
-
<?php $url = "http://www.nseindia.com/content/equities/TopGainers.htm"; $html = strtolower(implode('', file($url))); echo $html; ?> Why i am unable to read this file ?
Permissions. DO you own the site? If so set you need to check your settings in php.ini on nseindia
-
<?php $url = "http://www.nseindia.com/content/equities/TopGainers.htm"; $html = strtolower(implode('', file($url))); echo $html; ?> Why i am unable to read this file ?
udch wrote:
file($url)
you need to look up and set permissions for that