Author: Dhimant

PHP stdClass Object within array

I have no idea what the stdClass Object is. I googled it but couldn’t find anything really informative about the stdClass.A Few articles on stackoverflow explains the basic idea behind stdClass but that’s it. I haven’t searched the official documentation though. Anyways, this article is not about stdClass Object. It is about retrieving values from

Continue Reading…

Categories: PHP

JavaScript : Time delayed page redirect.

Recently in one of the project I am working on required me to do a “JavaScript” based url redirect. Originally I used a PHP header based 301 redirect

But this approach has one  limitation.The limitation is that you can not send any data before the header. My client used third-party JavaScript based tracking service

Continue Reading…