designbai Posted February 28, 2008 Share Posted February 28, 2008 hi all, I am trying to grab a content from a website, i am unable to get it. http://www2.dfm.ae/pages/DailySammary.aspx?smb=AEIBANK $url = 'www2.dfm.ae/pages/DailySammary.aspx?smb=AEIBANK'; $content = file_get_contents($url); echo $content; any help will be highly appreaciated. designbai. Quote Link to comment Share on other sites More sharing options...
trq Posted February 28, 2008 Share Posted February 28, 2008 Make sure you have error reporting and dsiplay errors on. <?php error_reporting(E_ALL) ; ini_set('display_errors','1'); ?> What do you get? Quote Link to comment Share on other sites More sharing options...
designbai Posted February 28, 2008 Author Share Posted February 28, 2008 i am getting the following: Warning: file_get_contents(www2.dfm.ae/pages/DailySammary.aspx?smb=AEIBANK) [function.file-get-contents]: failed to open stream: No error in C:\wamp\www\test\dfm.php on line 4 Quote Link to comment Share on other sites More sharing options...
designbai Posted February 28, 2008 Author Share Posted February 28, 2008 i am sorry, i am getting the following: eSense Page Implementation Problem -------------------------------------------------------------------------------- Error: Disabled Cookies More Information: Your browser seems to have the coockies disabled Page Information: This problem is found in the code for the following page/component:pages/DailySammary.aspx -------------------------------------------------------------------------------- eSense Webpage Implementation version 1.0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.