php training institute in ambala
TRANSCRIPT
Website: www.batracomputecentre.com Ph.no: 8222066670, 4000670
Website: www.batracomputecentre.com Ph.no: 8222066670, 4000670
Website: www.batracomputecentre.com Ph.no: 8222066670, 4000670
–PHP stands for "PHP Hypertext Preprocessor”
–An embedded scripting language for HTML like ASP or JSP
–A language that combines elements of Perl, C, and Java
Website: www.batracomputecentre.com Ph.no: 8222066670, 4000670
The History of PHP. PHP is an "HTML-embedded scripting language" primarily used for dynamic Web applications. ... PHP was written in the C programming language by Rasmus Lerdorf in 1994 for use in monitoring his online resume and related personal information. For this reason, PHP originally stood for "Personal Home Page".
Website: www.batracomputecentre.com Ph.no: 8222066670, 4000670
Zdnet Statistics PHP pumped out about 47
pages/second Microsoft ASP pumped out
about 43 pages/second Allaire ColdFusion pumped out
about 29 pages/second Sun Java JSP pumped out
about 13 pages/second
Website: www.batracomputecentre.com Ph.no: 8222066670, 4000670
<script language=“PHP"> // Some code here</script>
ASP-style tags Introduced in 3.0; may be
removed in the future <%
// Some code here%>
Website: www.batracomputecentre.com Ph.no: 8222066670, 4000670
Like Perl, there is more than one way to do it
<?php echo “Hello World!”; ?> <?php
$greeting = “Hello World!” printf(“%s”, $greeting);php?>
Website: www.batracomputecentre.com Ph.no: 8222066670, 4000670
Constants define a string or numeric value
Constants do not begin with a dollar sign Examples: define(“COMPANY”, “Acme Enterprises”); define(“YELLOW”, “#FFFF00”); define(“PI”, 3.14); define(“NL”, “<br>\n”);
Website: www.batracomputecentre.com Ph.no: 8222066670, 4000670
What Come in the Box?
Array Manipulator Functions sort, merge, push, pop, slice, splice,
keys, count CCVS: Interface to Red Hat’s credit
system COM functions: Interface to Windows
COM objects Date and Time Functions getdate, mkdate, date, gettimeofday,
localtime, strtotime, time
Website: www.batracomputecentre.com Ph.no: 8222066670, 4000670
What Come in the Box?
Array Manipulator Functions CCVS: Interface to Red Hat’s credit
system COM functions: Interface to
Windows COM objects Date and Time Functions Directory Functions Filesystem Functions IMAP Functions Mail Functions
Database Functions MING PDF POSIX Functions Regular Expression
Functions Semaphore and Socket
Functions Session Management
Functions
Website: www.batracomputecentre.com Ph.no: 8222066670, 4000670
Code Portability–if( ereg("WIN", PHP_OS) ){ $ApachePath = “C:/Program Files/Apache Group/Apache”; $ConfigPath = ”$ApachePath/htdocs/conf"; $DataPath = "$ApachePath/htdocs/data";}
$ConfigFile = "$ConfigPath/paperwork.conf";$CountryList = "$DataPath/countries.txt";$StateAbbrList = "$DataPath/usstateabbrs.txt";$StateNameList = "$DataPath/usstatenames.txt";
Website: www.batracomputecentre.com Ph.no: 8222066670, 4000670
Release Date ???Features Complete objects Objects with constructors Abstract classes Private, protected and
abstract functions Private, protected and
constant variables Namespaces Exception handling with
try/catch blocks
Website: www.batracomputecentre.com Ph.no: 8222066670, 4000670
PHP Downloads and Online Documentation
www.php.net Community www.phpbuilder.com: articles
on PHP, discussion forums www.phpresourceindex.com:
over 1,000 PHP scripts www.phpvolcano.com: PHP 5
information Newsgroups comp.lang.php
Website: www.batracomputecentre.com Ph.no: 8222066670, 4000670
Website: www.batracomputecentre.com Ph.no: 8222066670, 4000670
ADDRESS: SCO -15, Dayal Bagh, Near Hanuman Mandir Ambala Cantt-133001 HaryanaPh. No.: 9729666670, 8222066670 &0171-4000670Email ID: [email protected]: www.batracomputercentre.com
Website: www.batracomputecentre.com Ph.no: 8222066670, 4000670