PHP is a widely-used open source scripting language suited for web development that can be embedded into HTML. It allows users to save data for later use, receive user input, and repeat code sections. Some key features of PHP include variables, control structures like if/else statements and loops, functions, arrays, and the ability to work with files, databases, forms and regular expressions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
55 views
What Is PHP?
PHP is a widely-used open source scripting language suited for web development that can be embedded into HTML. It allows users to save data for later use, receive user input, and repeat code sections. Some key features of PHP include variables, control structures like if/else statements and loops, functions, arrays, and the ability to work with files, databases, forms and regular expressions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2
What is PHP?
PHP (recursive acronym for PHP: Hypertext Pre-processor) is a
widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. Introduction The rigin of PHP PHP is better than !ts alternatives !nterfaces to "#ternal systems How PHP wor$s with the %eb &erver Hardware and &oftware re'uirements %hat a PHP script loo$s li$e &aving data for later (eceiving user input (epeating code Basic PHP Development How PHP scripts wor$ )asic PHP synta# PHP data types displaying type information testing for a specific data type *hanging type with &et type perators +ariable manipulation ,ynamic variables &tring in PHP Control Structures The if statement -sing the else clause with if statement the switch statement -sing the. perator the while statement The do while statement The for statement )rea$ing out of loops /esting loops &ummary Functions %hat a function ,efining a function (eturning value from function -ser-defined functions ,ynamic function calls +ariable scope 0ccessing variable with the global statement 1unction calls with the static statement &etting default values for arguments Passing arguments to a function by value Passing arguments to a function by reference Testing for function e#istence Arrays &ingle-,imensional 0rrays Multidimensional 0rrays *asting 0rrays 0ssociative arrays 0ccessing arrays Working With he File System *reating and deleting a file (eading and writing te#t files wor$ing with directories in PHP chec$ing for e#istence of file ,etermining file si2e pening a file for writing3 reading3 or appending %riting ,ata to the file (eading characters Working With Forms 1orms &uper global variables The server array 0 script to ac'uire user input !mporting user input 0ccessing user input *ombine HTML and PHP code -sing hidden fields (edirecting the user 1ile upload and scripts Working With !egular "#pressions The basic regular e#pressions P*(" Matching patterns 1inding matches (eplace patterns Modifiers 3)rea$up &trings Classes And $%&ects b4ects oriented programming ,efine a class 0n b4ect *reating an ob4ect b4ect properties b4ect methods b4ect constructors and destructors *lass constants *lass inheritance Introduction o Data%ase !ntroduction to &5L *onnecting to the M6&5L &electing a database 1inding out about errors 0dding data to a table 0c'uiring the value 1inding the number of rows !nserting data "ntering and updating data "#ecuting multiple 'ueries Cookies The anatomy of a coo$ie &etting a coo$ie with PHP ,eleting a coo$ie *reating session coo$ie %or$ing with the 'uery string *reating 'uery string Session %hat is session &tarting a session %or$ing with session variables ,estroying session Passing session !ds "ncoding and decoding session variables Disk Access' I($' )ath And )ail HTTP connections %riting to the browser 7etting input from forms utput buffering &ession handling (egular e#pression *ommon math (andom numbers 1ile upload 1ile download "nvironment variables "-mail in PHP Advance PHP *oomla +Content )anagement System and We% Application Frame,ork- ,etail discussion of component3 module3 mambots and complete wor$flow of 8oomla How to create component 9 module in 8oomla *ustomi2ation of e#isting component and modules verview of 8oomla :.; P"A! +PHP "#tension and Application !epository- ,iscuss framewor$ and distribution system for reusable PHP components ,iscussion of pear Practical application of pear in combination with smarty A*A. +Asynchronous *avaScript and .)/- !ntroduction to 080< !ntroduction to <MLHttp(e'uest b4ect Method and Properties of <MLHttp(e'uest 0pplication of 080< in web application osCommerce +$pen Source Shopping Cart- !ntroduction to &hopping *art !ntroduction to os*ommerce opensource ,iscussion of various module of os*ommerce *ustomi2ation of e#isting template and module