Posts

Featured post

PHP Variables Are Case-Sensitive

Image
                    In PHP userdefined variables are case sensitive but user-defined functions,classes,PHP functions, conditional statements such as (IF,ELSE,while )and also "echo"  are not at all case sensitive and are legal to use without any syntax errors. Example:            <?php                        echo "hai";echo "<br>";                       ECHo  "Hello world";echo "<br>";                       ECHO "I am legal to use ";             ?> Output:                 hai         Hello world         I am legal to use But coming to the variables,Variables are highly case se...

PHP 5 Syntax

We all know PHP is executed on the server and result of php will reflect on web browser using HTML PHP Syntax: <?php --------- ---------  [php code written here] --------- ?> PHP can be run only through .php files.Php code is written in between html tags to echo the results. In PHP to result the output ,It has built in functions “ECHO”. Example for a simple program in php: <?php     Echo “Hai welcome to PHP Unlimited”;  ?> PHP in Between HTML Tags: < !DOCTYPE   html > < html > <body> <?php          echo “Welcome to PHP Unlimited”  ;  ?> </body> </html> Note:Every PHP Statement ends with Semicolon(;) Comments in PHP: Basically comments in programming languages are written for easy understanding of flow of code. Comments are not executed by the programming language and can be read ...

Installing PHP and MYSQL

Image
Install PHP and MYSQL in Windows Required : PHP 5.6 ,MYSQL,APACHE Server Easy way to access all these three we should download and install  XAMPP or WAMPP softwares  XAMPP : Supports all OS (UNIX,LINUX,WINDOWS,MAC OS X).Xampp is aopen source so that we can download free and use .It is easy to use. XAMPP refers to X-X refers to cross platform,hence it supports all operating systems A-Apache M-MARIA DB(Formerly MYSQL) P-PHP P-PERL To download XAMPP click here Folder to run php: /xampp/htdocs/projectfolder/filename.php WAMPP : Supports only Windows Operating System and is a open source. It is free to download and easy to use W-Windows A-Apache M-MYSQL P-PHP P-PERL To download WAMPP clickhere Next Chapter: PHP 5 Syntax x

Basic Introduction to PHP

We all know that PHP is a Server side scripting language for web development.So that prerequisites knowledge before learning PHP are HTML, CSS, JAVASCRIPT  which are client side programming languages.Learning HTML,CSS and JAVASCRIPT is an advantage. What can a PHP Programming Language do? Using PHP we can generate dynamic pages. PHP can collect form data. PHP can encrypt data. PHP can open,close,delete,edit,read,write files on the server PHP can send and receive cookies data and so on.. PHP can control user's access(Login Systems). More than above all , PHP can also output Images,PDF,Excel data,Videos. what not PHP can do anything on the Serverside.. Why PHP is a Big Question? Answer:  PHP can run on almost all platforms Windows,MAC OS X,LINUX,UNIX  PHP is compatible with almost all servers used currently(Apache,bluefish)  PHP supports all databases which is a big thing above all. What Should We Know About ...

What is PHP and Evolution of PHP?

Image
PHP-HYPERTEXT PRE PROCESSOR PHP is one of the easiest server-side scripting languages ruling IT since 1994 . PHP is widely-used open source server side scripting language mainly used for web development. PHP is  one of the most powerful tool for creating dynamic and interactive webpages in web-developing. Evolution of PHP: PHP/F1-1995: PHP 1.0 was introduced by Rasmus Lerdorf. Initially PHP is acronym of Personal Home Page and also known for Form Interpreter PHP 1.0 Released with the main feature of Form Handling PHP/F12-1997: PHP 2.0 comes with the little modification to handle form Entries Main features are Data Conversion and Form Data export. PHP 3-1998: In 1998 PHP language was modified by Zeev  Suraski and AndiGutmans and Changed PHP to Hypertext Preprocessor Main Features are  PHP core and Parser are Rewritten meanwhile ZendEngine is incorporated. PHP 4-2000: PHP versions are released with...