Entrepreneur87 Startseite

Sessions - load this session - and USER Login example

sry chap, please register first

Sessions - unsetting data

session_start(); //to start
unset($_SESSION['varname']; // unset particular session data
session_destroy(); // destroy all sessions

Create and Destroy Cookies

All about files

open and write in a file

example is test.txt and we will write some stuff in there

Wrote to file test.txt

read files

Show Namex.txt: Show

explode function


Handling Files

Handling Files:
Does it exist and deleting and renaming files

file doesnt exist and open and file with $handle, fwrite and fclose siehe oben

Uploading Files and Restricting them

Datei einfügen:
NO file selected
Previous Next