Google has blacklisted php.net website!

PHP Developer’s Home php.net has been blacklisted by Google. I think that’s probably happened ~ in between 23rd October 2013 11:15 PM IST and 24th October 2013 9:35 AM IST. Tha actual problem is that Google’s Safe Browsing technology is blocking access to PHP.net as a precaution, after apparently detecting that some of its pages […]

Disable/Enable Javascript Options in Firefox From Version 23.

Folks, You might have noticed, In Firefox Version 23(+) there is no way to disable  JavaScript functionality from Tools->options-> Content (Tab). They say “In Firefox 23, as part of an effort to simplify the Firefox options set and protect users from unintentionally damaging their Firefox, the option to disable JavaScript was removed from the Firefox […]

PHP Warning: file_get_contents(): Unable to find the wrapper “https” – did you forget to enable it when you configured PHP?

Hey Folks, Warning: file_get_contents(): Unable to find the wrapper “https” – did you forget to enable it when you configured PHP? Got the above warning? No Problems. You can get rid of this warning by just enabling php_openssl.dll extension in your php.ini [For eg. xammp/php/php.ini] configuration file. [If you’re not seeing php_openssl.dll itself in your […]

PHP : Deleting Duplicates From An Array

Hey Folks, PHP’s array_unique function allows you to remove duplicate values from an array. Syntax: Note : The keys are preserved. array_unique() sorts the values treated as string at first, then will keep the first key encountered for every value, and ignore all following keys. It does not mean that the key of the first […]

Convert a string to an array using str_split PHP function.

Hey Folks, In PHP, You can convert a string to an array using str_split function. Syntax: Example: Return Values: If the optional split_length parameter is specified, the returned array will be broken down into pieces with each being split_length in length, otherwise each piece will be one character in length. FALSE is returned if split_length […]

What is PDO (PHP Data Objects)? Basic Explanation.

Hey Folks, The PDO (PHP Data Objects) is an extension which defines a lightweight, consistent interface for accessing databases in PHP. PDO provides a data-access abstraction layer, which means that, regardless of which database you’re using, you use the same functions to issue queries and fetch data. PDO does not provide a database abstraction; it […]