Not sure how that can be used for my purposes. Mind enlightening me?
Basically his serialize() function encodes a variable into a string-form.
You can then save this string to a file for later use.
If you want to load the variable again, you just read the string from the file and call deserialize() on it.
The result will be your variable from the beginning.
And it doesn't matter what type your variable was (Well, mostly. See his thread for details). The type is preserved.
So basically you do…
serialize(yourVar)
… which will give you a gibberish looking string.
You store this wherever you want, and if the time comes you load this string up again and then deserialize it like this…
deserialize(gibberishString)
… which will return the variable you stored before.
EDIT: I assume here that you know how to read and write to files, as I thought the crux of your question was how to read variables from a file, not how to read from files in general. Was that a misinterpretation? :(/>/>