PHP is a server-side scripting language commonly used for web development. It allows sharing of content between web pages and databases using features like user authentication. PHP code runs on the server and generates dynamic web page content. It is an open source and free technology that is easy to use and integrates well with databases like MySQL. Developers must write secure PHP code by validating and sanitizing user input to prevent security vulnerabilities.
2. What is php?
Preprocessor hypertext also called as
personal home page a recursive Acronym.
Server language that use MVC pattern
Used to build secure webapps
Share content between view page and
database via USER AUTHENTICATION
4. How to run php?
Why only php?
Where exactly php?
Save projects here
C:wamp64www and run on local
server(wamp/xamp)
Everywhere/open/Free apps/uses
MYSQL/easy to use yet powerful
Server side scripting
7. Important Considerations
for Choosing A Web Dev
Framework
Based on 15 results
(https://goo.gl/Fo9wSK)
1. Usage Context
2. License
3. Software Pattern
4. Hosting Requirements
5. Ease of Installation
6. Learning Curve
7. Core Library
8. DB Abstraction and ORM
9. Included JS Library
10. Unit Testing
11. Scaling
12. Documentation
13. The Community
14. Bug Fixes/ Updates
15. Ease of Creating an Extension and
Availability
14. mysqlWhy used in most Frameworks and server scripts?
MySQL is a relational database that supports SQL to query data
most used database on the planet
Many extremely popular open source platforms like Wordpress and
Drupal use MYSQL
Almost supports all frameworks of php
15. It is also important to note that PHP also needs to be coded in a secure manner. Developers need to
always ensure to validate and sanitize user input.
Think of this scenario. A developer fails to properly validate and sanitize user input during the processing
of the form. A malicious hacker realizes this and decides to do whats called SQL Injection. SQL is the
database language that MySQL is based off of.
The injection attack is done in a way to delete all the data found in the database. Now all 10,000 homes
are no longer in the database and youre back to driving around town. Actually no, worse, the website now
loses you as a website visitor because you visit the competitor's website instead. Loss of business.
So PHP can be used to properly validate and sanitize user input for security reasons.
This is just a small example of the power of PHP
security