browse by tag: sessions
sort by
How to: PHP Sessions
in PHP added by mig35, on 23/9/2007 beginner tutorials session
Learn what sessions are and how to create, retrieve and delete sessions in PHP
comment save reportTraverse Directories the Easy Way with Glob
in PHP added by Wildhoney, on 16/9/2007 file handling security session sessions web
There is a powerful yet somewhat unheard of function in PHP titled glob(). Many beginners and intermediates alike struggle with the traversing of directories. Acquiring the directories contents and returning them in a readable format. If only they know how so very easy this task was!
comment save reportUnderstanding the Life of a Session
in PHP added by Wildhoney, on 15/9/2007 advanced tutorials security session sessions
One of the most vast misconceptions in the PHP world is how sessions really do work. I'm fairly confident most of us know how to start sessions, terminate sessions, regenerate session IDs and easily pass data from 1 page to another. But do you really know how they work inside out?
comment save reportSecuring your MySQL queries with sprintf
in PHP added by Wildhoney, on 13/9/2007 programming security sessions
Sprintf in itself will not secure a MySQL query from head to toe. That should be made clear from the word go. There are many more techniques that go into ensuring a MySQL statement is safe to execute on the MySQL server. Sprintf will, however, take a lot of the sting out of any malice.
Not only will your new found knowledge help you when it comes to security, but sprintf and its twin brother with a slight genetic mismatch, printf, are on hand to make your PHP code look a lot more programmer-friendly.
The fastest way to see how many people are online at your site
in PHP added by Nikolas, on 2/9/2007 cookies and sessions online security session
A quick way to see how many people are browsing your site for php enabled web sites.
comment save reportProtecting a Page with Sessions
in PHP added by Dale, on 26/7/2007 cookies and sessions login logout password secure sessions
In this tutorial you will learn how to login using a passcode to view stuff on pages that you have hidden, then also logout. It is all secured by Sessions.
comment save reportLogin - Logout with a Session in 1 file
in PHP added by goodphptutorials, on 13/1/2007 security session user user authentication
Create a file for Login and Logout (PHP + MySQL) using with a SESSION variable. This file contains Login form, Login authorize program and Logout program.
comment save reportSQL Injections in PHP with MySQL
in PHP added by goodphptutorials, on 16/3/2006 get post security session sql injection
SQL injections are a major security risk in many PHP applications. Injections are caused when a web developer allows the end-user to manipulate a variable that is being inserted into a database query string, generally through the $_GET, $_POST or $_SESSION superglobals
comment save reportManaging Users with PHP Sessions and MySQL
in PHP added by goodphptutorials, on 30/1/2006 cookies cookies and sessions database mysql sessions user
In this article, I shall provide an overview of the system I developed, beginning in the first half with the user signup process. In the second half, I'll focus on the site itself, how it requires users to log in and then maintains that logged-in status throughout their visit.
comment save reportPHP Cookies
in PHP added by goodphptutorials, on 19/12/2005 cookies cookies and sessions sessions user
A cookie is often used to identify a user. A cookie is a small file that the server embeds on the user's computer
comment save reportCookies a Quick Glance
in PHP added by goodphptutorials, on 2/12/2005 beginner tutorials cookies session user
Sometimes it becomes necessary to track certain user details
comment save report