•developed in 1995 by Rasmus Lerdorf (member of the Apache Group)
§originally designed as a tool for tracking visitors at Lerdorf's Web site
§within 2 years, widely used in conjunction with the Apache server
§developed into full-featured, scripting language for server-side programming
§free, open-source
§server plug-ins exist for various servers
§now fully integrated to work with mySQL databases
•PHP is similar to JavaScript, only it’s a server-side language
§PHP code is embedded in HTML using tags
§when a page request arrives, the server recognizes PHP content via the file extension (.php or .phtml)
§the server executes the PHP code, substitutes output into the HTML page
§the resulting page is then downloaded to the client
§user never sees the PHP code, only the output in the page
No comments:
Post a Comment