https://github.com/punitkatiyar/php-master-guide
PHP is particularly useful for creating dynamic web pages because it allows you to embed HTML, CSS, and JavaScript code directly into the PHP code. It also has a wide range of built-in functions and features that make it easy to work with databases, process user input, and generate dynamic content
https://github.com/punitkatiyar/php-master-guide
oops php php7 php8
Last synced: 10 months ago
JSON representation
PHP is particularly useful for creating dynamic web pages because it allows you to embed HTML, CSS, and JavaScript code directly into the PHP code. It also has a wide range of built-in functions and features that make it easy to work with databases, process user input, and generate dynamic content
- Host: GitHub
- URL: https://github.com/punitkatiyar/php-master-guide
- Owner: punitkatiyar
- License: mit
- Created: 2021-12-21T07:25:38.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-23T13:14:15.000Z (over 1 year ago)
- Last Synced: 2024-06-23T14:31:30.452Z (over 1 year ago)
- Topics: oops, php, php7, php8
- Language: PHP
- Homepage: https://punitkatiyar.github.io/php-master-guide/
- Size: 421 KB
- Stars: 17
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP Master Guide
**PHP (Hypertext Preprocessor) is a server-side scripting language that is used to develop web applications and dynamic websites. It was created in 1994 by Rasmus Lerdorf, and since then, it has evolved into a widely used programming language for building web-based applications.**
**PHP is particularly useful for creating dynamic web pages because it allows you to embed HTML, CSS, and JavaScript code directly into the PHP code. It also has a wide range of built-in functions and features that make it easy to work with databases, process user input, and generate dynamic content.**
## PHP On Window Command Prompt
> install composer
> php -v
> php file_name.php
## Start the PHP Development Server
> php -S localhost:8000
> php -S localhost:8000 -t public router.php
## PHP Basic Module
> Variable
> Data Type
> Array
> Control Statement
> PHP Loops
## PHP Function Module
> define the function
> call the function
> passing the argument
> passing the multiple argument
> setting defalut value
> return the value
> multiple return
## PHP Session
## PHP Object Oriented Programming
> class and object
> constructor()
> desconstruct()
> inheritance
## .htacess File
```
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]+)/?$ /index.php?slug=$1 [L,QSA]
```