Rabu, 10 Agustus 2011

KIMPRA SOCIAL NETWORK

KimPra MiNi  is an online upcoming worlds biggest social networking  service that enables its users to do anything , informally known as "KIMPRA NETWORK ."KIMPRA was created in AUGUST 2011 by KIIMOZER ALJITHR AND PRATIK VYAS and will launched in of that same end of the year. KIMPRA MINI rapidly gained worldwide popularityKIMPRA  Inc., the company...
Read more »

Using old code with new versions of PHP

Now that PHP has grown to be a popular scripting language, there are a lot of public repositories and libraries containing code you can reuse. The PHP developers have largely tried to preserve backwards compatibility, so a script written for an older version will run (ideally) without changes in a newer version of PHP. In practice, some changes will usually be needed.Two of the most important recent changes that affect old code are:The deprecation...
Read more »

Dealing with Forms

One of the most powerful features of PHP is the way it handles HTML forms. The basic concept that is important to understand is that any form element will automatically be available to your PHP scripts. Please read the manual section on Variables from external sources for more information and examples on using forms with PHP. Here is an example HTML form:Example #1 A simple HTML form<form action="action.php" method="post"> <p>Your...
Read more »

Something Useful

Let us do something more useful now. We are going to check what sort of browser the visitor is using. For that, we check the user agent string the browser sends as part of the HTTP request. This information is stored in a variable. Variables always start with a dollar-sign in PHP. The variable we are interested in right now is$_SERVER['HTTP_USER_AGENT'].Note:$_SERVER is a special reserved PHP variable that contains all web server information....
Read more »

Your first PHP-enabled page

Create a file named hello.php and put it in your web server's root directory (DOCUMENT_ROOT) with the following content:Example #1 Our first PHP script: hello.php<html> <head>  <title>PHP Test</title> </head> <body> <?php echo '<p>Hello World</p>'; ?> </body></html>Use your browser to access the file with your...
Read more »

How to Create My Own PHP Website

What do I need?In this tutorial we assume that your server has activated support for PHP and that all files ending in .php are handled by PHP. On most servers, this is the default extension for PHP files, but ask your server administrator to be sure. If your server supports PHP, then you do not need to do anything. Just create your .php files, put them in your web directory and...
Read more »

VISITORS

Flag Counter