Main tutorial 2my4edge

More tutorial www.2my4edge.com

More Demos Demos

What is PHP?

PHP is a server side scripting language commonly used for web applications

How to include a file to a php page?

we can include a file using "include() " or "require()" function with as its parameter..

What's the difference between include and require?

If the file is not found by require(), it will cause a fatal error and halt the execution of the script. If the file is not found by include(), a warning will be issued, but execution will continue.

What Is a Session?

It can be used to store information on the server for future use

How to set cookies in PHP?

Cookies are often used to track user information Syntax: Setcookie(name, value, expire, path, domain); eg:Setcookie("sample", "ram", time()+3600);

Click here to Print the Page