PHP Error: unserialize() [function.unserialize]: Error at offset 118 of 512

Lately I got this error in my script while trying to decode serialized UTF-8 string:

unserialize() [function.unserialize]: Error at offset 118 of 512

Here’s a simple solution I found.

Windows ignores my hosts file

I recently had a problem because all the entries I added in Windows hosts file (C:\WINDOWS\system32\drivers\etc\hosts) stopped working.

 
TopOfBlogs Web Development & Design Blogs