Crusader Posted December 10, 2006 Share Posted December 10, 2006 I've done a ini_set("memory_limit","75M"); in one of my scripts but I'm wondering if it is valid only for that file? I want only that script to be able to use up that much memory but only temporarily so the overall limit is still 8MB as set in my php.iniThanks! Quote Link to comment Share on other sites More sharing options...
trq Posted December 10, 2006 Share Posted December 10, 2006 ini_set() only changes the value for the lifetime of the script it is in. Quote Link to comment Share on other sites More sharing options...
Crusader Posted December 10, 2006 Author Share Posted December 10, 2006 Thank you for the prompt response. Good to hear it works like this. Quote Link to comment Share on other sites More sharing options...
trq Posted December 10, 2006 Share Posted December 10, 2006 Funny what you find in the manual. 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.