Archive for the ‘PHP 5.0’ Category

Top 10 Git Tutorials for Beginners

June 7, 2011 2 comments

As a web designer or web developer, you’ve probably heard of Git before, a version control system that has had a swift ascension to ubiquity due in part to GitHub, a social code repository site.

If you’d like to learn how to use Git, check out my top 10 favorite Git tutorials for beginners. At the end, you’ll also see a list of other educational Git resources.
Top 10 Git Tutorials for Beginners

Read more…

Categories: HTML, PHP 5.0 Tags: , , ,

PHP unserialize(): Error at offset – Error Solution

June 2, 2011 1 comment

Some time when we unserialize a variable in PHP, an error come out like

unserialize(): Error at offset

The reason of this error is corruption in “, ‘, :, & ; characters.

Quick Solution

the solution is 2 step based.

  1. While serializing the variable encode it with base64 encoding.


  2. While unserializing the variable decode the serialized variable using base64 encoding.