Raj Singh Posted November 16, 2007 Share Posted November 16, 2007 Is that possible to save memory state to a file? (i.e. the content of every variable) thank you Quote Link to comment Share on other sites More sharing options...
kratsg Posted November 16, 2007 Share Posted November 16, 2007 Sounds like you would need to look at the serialize() and unserialize() functions. Quote Link to comment Share on other sites More sharing options...
Raj Singh Posted November 16, 2007 Author Share Posted November 16, 2007 Yes, I will do that. I hope I can keep reference to objects and it wont just copy the data. Thank you. Quote Link to comment Share on other sites More sharing options...
kratsg Posted November 16, 2007 Share Posted November 16, 2007 If you mean by using classes... You can store the variable if it connects to a class, as long as you re-include the class in the page that you unserialize the variable in (if that makes sense). 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.