Convert XML string to PHP Array

PHP programmers usually require to convert xml data to php array to store or use it in their classes methods and functions. Now its a different discussion why can’t they use xml data directly without having to convert xml to php array. In a project today, I needed to convert the xml data to php array […]

How to disable directory listing / browsing – cPanel

By default servers allow directory browsing via http frontend to the visiting users. However you might want to disable directory listing in some situations where you don’t want to allow your users to see the files and folders present in the web servers directories. Servers show the directories and files if default files aren’t present […]

Do you license your scripts before giving it to the client?

If you’re a programmer or developer, you might had numerous events in your life in which the client didn’t pay you for all your hard work. Happens to me too! I’ve been planning for long to start licensing and sort of encrypting some part of the scripts to the clients who don’t pay advance (or […]

Contact form 404 error when Post – wordpress

Was finishing the wordpress plugin partially coded by my team member and while trying to submit it as POST twenty twelve theme said: This is somewhat embarrassing, isn’t it? Well honestly speaking, yes it was, coz after trying few different things (including removing the plugin completely) it still gave this error. (You can refresh the […]

Blogging vs Programming

Ideally we can’t compare these two things but as I’m quite confused these days to focus on which one of them I’ll try to give a comparison among them. Blogging, of any niche or topic, is beneficial in the long run. You never know if your post is really going to get many visitors or […]

Only graphics person has imagination ?

While discussing a project with one of the clients I got this line from him: I do need a good graphics person who has imagination And it made me wonder . . . does only graphics people have imagination? No I’m not gonna pull this post with just this topic in it, but just wanted […]

Google Adsense showing websites ad on itself!

Geo.tv is a news channels website. It’s a Pakistani news channel and have placed google ads on their website too. Today when i was on the website to get a glimpse at the current news, on the right sidebar, Google Ads was showing the ad for Geo.tv itself! Take a look at the snapshot below: […]

Steve Jobs died – 1955 – 2011

Steve Jobs has passed away today on 6th october 2011. He made Apple what it is today and some part of the world too. I am using macbook right now too with iPhone right next to me too . . Thanks to you Steve Jobs. Apple dedicated a page to the great person in his […]

Recent downtime at Nabtron.com – bad support from site5.com

Today Nabtron.com went offline for almost 6 hours. The access to our hosting account was forbidden by site5 without any warning. Well I can understand that this was due to urgent issues of very high cpu usage from the account. The issue is, information provided to me was only that there is “sudden” high cpu […]

Facebook error while logging in – Form Submitted

A user contacted me today for a strange error while logging into facebook. It goes like this: We goto Facebook.com, enter the login details and press enter. Facebook asks us to name new device we’re logging in from, saying: Name New Device Please give this device a name. Because you have Login Notifications enabled, you […]