CodeLobster Review

Recently I’ve tried CodeLobster PHP Edition as a PHP-code editor. As it turned out, that editor has a variety of useful features. So it can be viewed as a complete integrated development environment for PHP. What is the most interesting – CodeLobster can simplify web projects development process strongly if you use different frameworks and CMS. For example, such as Drupal, Joomla, JQuery, CakePHP, Yii, WordPress and others. In this article you can find some details about the features of this product.
Continue reading “CodeLobster Review”

HTTP Basic Authentication PHP

HTTP Basic authentication is way to authenticate where user agent password the user information to server and server authenticates the given user detail and provide further access. While information get transmitted to server they are base64 encoded. Its server responsibility to validate the detail. If you are using Apache as web server you can implement basic auth using .htaccess and htpasswd with password file. But if you want you can implement http basic authentication with PHP also. In this tutorial we will explore on http basic authentication php. First we will explore on how exactly http authentication works. Once you will have idea of how it works you can easily write PHP code. So later in the later part of tutorial we will cover our real topic i.e.  HTTP basic authentication php.
Continue reading “HTTP Basic Authentication PHP”

Apache Performance Tuning Tips

Apache is one of the most used web server with lots of power and capability along with simplicity. You can configure apache very easily which proves its simplicity. For power and capability I must say that for almost everything you have some configuration to manage. Also apache has proven track record to handling very high traffic site or to perform very heavy operation on web. But still sometime depending upon your environment you need to tune our apache for better performance. In this post we will discuss some of the common apache performance tuning tips which can improve apache performance.
Continue reading “Apache Performance Tuning Tips”

File Handling in PHP Tutorial

For any PHP programmer or web developer performing file operation is one of most frequent task. Because files contains data  and web development is all about manipulation of data. But one of the most common problems with the developer are the file handling code written on one environment create issue on other environment. In this tutorial we will explore various aspect of file handling in php. We will explore from basic beginning steps of creating file to some advance aspect like permission, file attribute etc.
Continue reading “File Handling in PHP Tutorial”

$_SERVER in PHP

$_SERVER is one of the most frequently used predefined variable in PHP. $_SERVER is a predefined array which contains various information related to server environment, script location detail, header. In this tutorial we will explore each and every array element of $_SERVER in PHP. To understand $_SERVER in PHP you only need basic information about the PHP programming.
Continue reading “$_SERVER in PHP”

WordPress XML-RPC API Tutorial & Example

WordPress is not not only a simple blogging tool, but one of the most useful CMS to manage the website content. There are several reason of WordPress popularity but one of them is the feature provided by such a very small blogging tool. XML-RPC is one of them. If you have created your website using WordPress and want any of your remote application to interact then you can do it via the XML-RPC method. WordPress has exposed various RPC method which you can invoke from other system. Also you can write your own custom XML-RPC method in your WordPress. In this tutorial we will explore various aspect of WordPress XML-RPC API. We will also check how to call Wordpress XML-RPC API method from your PHP Code. We will also explore on how to write own RPC method in WordPress.
Continue reading “WordPress XML-RPC API Tutorial & Example”

Integrate Google No Captcha Recaptcha in PHP Form

Captcha is one of the best way to protect any form spammers. Captcha helps website to distinguish between machine and humans. Usually captcha comes with a very a image with has some text written. User need to provide enter the text written on the image in any input field & the field get validate on the server. The text written on the image is little difficult to read and in the random patter so that machines can not read. Although this is a good way to verify the human, but it is little frustrating user experience. To overcome with the frustating experince Google has introduced No Captcha reCaptcha. In this post we will explore on How to integrate Google no Captcha reCaptcha in PHP.
Continue reading “Integrate Google No Captcha Recaptcha in PHP Form”

File Upload With PHP Script

File Upload is One of the most common and frequent activity performed by any PHP programmer. One of the most common problem I have listen from programmer is that his file upload script is working on his local machine but not on server, some files are not getting uploaded etc. All this problems arrises because of not having clear understanding of basics. In this post we will explore various cases of File upload with php programming. I will try to explain from most basic file upload to multiple file upload and progress bar in file upload script. To understand this tutorial completely basic understanding of PHP, HTML is required.
Continue reading “File Upload With PHP Script”

Variable Scope in PHP Programming

While doing PHP code review sometime I have observed some confusion related to variables. Sometime confusions are related to basics of variable scoping and sometime with good practices. In this post I will try to explain about variable scope in php programming. Also I will put my own thought on what should we avoid to do and what should we prefer.
I am writing this post for newcomers so to read this post you should had only basic understanding of PHP.
Continue reading “Variable Scope in PHP Programming”

Magic Constants in PHP Programming

Like magic functions there are pre-defined constants which are know as Magic constants in PHP. In this tutorial we will explore what is magic constant, how they are different from normal constants, how to use them. To understand/read this topic I am assuming that you have basic understanding of PHP and have idea about constants in php.
Continue reading “Magic Constants in PHP Programming”