Creating Menu in WordPress Admin side and using it in front side.

As a theme developer, most of the support questions I get are about configuring menus. If you’re also a theme developer, you have probably run into the same questions I have.

The trouble is that a large majority of users want custom menus and no two menus are the same. There are tons of [...]

PHP Cookies: How to Set Cookies & Get Cookies

Cookies don’t have to be an essential part of a website but can provide some of the “little things” that can set your website apart from the rest. Cookies are small tidbits of information that you save on the client’s computer so that you can access them next time they visit the website. Session ID’s [...]

How To Check Your PHP Installation? Please explain with example

PHP provides two execution interfaces: Command Line Interface (CLI) and Common Gateway Interface (CGI). If PHP is installed in the php directory on your system, you can try this to check your installation:
* Run “phpphp -v” command to check the Command Line Interface (CLI).
* Run “phpphp-cgi -v” command to check the Common Gateway [...]

How To Run a PHP Script? Please explain with example

A standard alone PHP script can be executed directly with the PHP Command Line Interface (CLI). Write the following script in a file called hello.php:
<?php echo “Hello world!”; ?>
This script can be executed by CLI interface like this:
phpphp hello.php
You should see the “Hello world!” message printed on your screen.
credit:www.globalguideline.com

How to Find a Substring from a Given String in PHP? Please explain with example

To find a substring in a given string, you can use the strpos() function. If you call strpos($haystack, $needle), it will try to find the position of the first occurrence of the $needle string in the $haystack string. If found, it will return a non-negative integer represents the position of $needle. [...]

How To Download and Install PHP on Windows?

PHP is one of the most popular languages to develop dynamic Web pages. It supports all major database servers, including: MySQL, MS SQL Server, Oracle, mSQL, Sybase, etc.
If you are developing a Web application that uses PHP and needs to access MS SQL Server, you should go download and install PHP to [...]

How To Get the Uploaded File Information in the Receiving Script?

Once the Web server received the uploaded file, it will call the PHP script specified in the form action attribute to process them. This receiving PHP script can get the uploaded file information through the predefined array called $_FILES. Uploaded file information is organized in $_FILES as a two-dimensional array [...]

What is the difference between session_register and $_session?

session_register() is used for register one or more global variables with the current session. While $_SESSION[] array is used for storing one or more variables with in the current session.

Which will execute faster on php POST or GET? Please explain with example

Both are same while performing the action but using POST security is there.
Because using GET method in the action, form field values send along with URL, so at the time of sending password, problem will occur means password also will shown in the URL.
Using of POST there is no problem.
The POST metod is [...]

What is difference between mysql_fetch_array(),mysql_fetch_row() and mysql_fetch_object() ?

mysql_fetch_array ? Fetch a result row as an associative array, a numeric array, or both. Returns an array that corresponds to the fetched row and moves the internal data pointer ahead.
mysql_fetch_object ? Fetch a result row as an object. Returns an object with properties that correspond to the fetched row and moves the [...]

Hire Me
Follow Me!
Search
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.
Categories