Examples: PHP, a language for the web
Download all these examples in one file: phpWeb.zipForms, cookies, sessions, http optimization.
Submit the content of a form (source)Submit the content of another form (source)
Send a cookie (source)
Get the value of all the received cookies (source)
Session handling:
Use a session to create a counter (source)--See the new cookieremember the username (source)
and this script remembers it (source)
Play with HTTP Header :
Read the prefered languages from a browser (source). This second example works with$_SERVER instead of getallheaders():
Read the prefered languages from a browser (source)Displays an image with a php programm (source)
A better version (source)
Related Pages
Contact
Prof. Dr. Emmanuel Benoist
Berner Fachhochschule - TI
Quellgasse 21
CH-2501 Biel/Bienne
Switzerland
Mail: emmanuel.benoist (at) bfh.ch
Berner Fachhochschule - TI
Quellgasse 21
CH-2501 Biel/Bienne
Switzerland
Mail: emmanuel.benoist (at) bfh.ch
Social Networks
Follow
me
on
Linkedin, Scholar
& Research gate