Scooby08 Posted February 1, 2009 Share Posted February 1, 2009 Would anybody know how to get larger files to open with file_get_contents? Files over 600kb seem to not work?? Any ideas out there?? Quote Link to comment Share on other sites More sharing options...
Prismatic Posted February 1, 2009 Share Posted February 1, 2009 600kB should be no problem. What error are you getting? Quote Link to comment Share on other sites More sharing options...
Scooby08 Posted February 1, 2009 Author Share Posted February 1, 2009 I'm not showing any errors.. How can I show errors for file_get_contents? Quote Link to comment Share on other sites More sharing options...
Scooby08 Posted February 1, 2009 Author Share Posted February 1, 2009 Would it make any difference if the file I was trying to open is a .csv?? Quote Link to comment Share on other sites More sharing options...
Prismatic Posted February 1, 2009 Share Posted February 1, 2009 Try putting this at the top of your file set_time_limit(0); And try it again. Quote Link to comment Share on other sites More sharing options...
corbin Posted February 1, 2009 Share Posted February 1, 2009 Add ini_set('display_errors', '1'); and error_reporting(E_ALL); to your script. 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.