The easiest way to start developing in PHP is to get XAMPP, the whole package can even be placed in a flash drive.
Tag Archives: PHP
LiteSpeed Web Server
LiteSpeed Web Server is the leading high-performance, high-scalability web server. It is completely Apache interchangeable so LiteSpeed Web Server can quickly replace a major bottleneck in your existing web delivery platform. With its comprehensive range of features and easy-to-use web administration console, LiteSpeed Web Server can help you conquer the challenges of deploying an …
PHP Calculating the Moon Phase
I was searching for a algorithm to get the phase of the moon, and unfortunately the Moon Phase Class on PHP Classes is inaccurate. With some searching I was able to find 2 sites that have code to pull it off ( Lunar Phase Calculator and Moon Phase Calculation.
PHP Empty/Null Rows from array
I got so many empty element as well as null values in array and my SQL query is some what complex so i was not able to use IS NOT NULL inmysql Query. Only alternative way i have is removing this null values from array using PHP. I used is_null function of PHP and remove …
Php array unique
array array_unique ( array $array [, int $sort_flags = SORT_STRING ] ) Takes an input array and returns a new array without duplicate values.
Deprecated: Function eregi() is deprecated
It means the function is old and not supposed to use anymore. I don’t remember the versions where this still was or where it was removed but thats probably the case. You should use preg_match. And instead of all ereg* functions there is usually preg_* function that you can use. You can use the i …
Continue reading “Deprecated: Function eregi() is deprecated”