/ Published in: PHP
URL: http://www.sitepoint.com/forums/showthread.php?t=452250
Expand |
Embed | Plain Text
Comments
Subscribe to comments
You need to login to post a comment.
Tate on 11/09/09
2 people have marked this snippet as a favorite
URL: http://www.sitepoint.com/forums/showthread.php?t=452250
Subscribe to comments
You need to login to post a comment.
Why not just write the following:
fileputcontents ("textfile.txt", serialize($GLOBALS));
And then you can get it back by using:
$globals = unserialize(filegetcontents("textfile.txt"));
Sorry, my post got formatted - try that one more time:
Why not just write the following:
And then you can get it back by using: