Skip to content

Latest commit

 

History

History

session

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

PHP Session

Cookie


$_COOKIE

codes/cookie-counter/index.php:

{% include_relative codes/cookie-counter/index.php %}

http://localhost:8080/php/web/session/codes/cookie-counter/index.php

References:

Session


$_SESSION

codes/session-counter/index.php:

{% include_relative codes/session-counter/index.php %}

http://localhost:8080/php/web/session/codes/session-counter/index.php

References:

Auth

auth
├── auth.php
├── home.php
├── login.html
└── logout.php

codes/auth/login.html:

{% include_relative codes/auth/login.html %}

codes/auth/auth.php:

{% include_relative codes/auth/auth.php %}

codes/auth/home.php:

{% include_relative codes/auth/home.php %}

codes/auth/logout.php:

{% include_relative codes/auth/logout.php %}

http://localhost:8080/php/web/session/codes/auth/login.html