Twitsnip is a place to post code snippets and share them. Login with your existing Twitter account, if you don't have a Twitter account simply create on at www.twitter.com

Tag: function

Login function

0

These functions will login a user based on a username and password being matched in a mysql database.

Redirect Function

0

A function to redirect based on a string.

Login checker Functions

0

2 login functions that check if a user is logged in by checking is a session is equal to true that would have been set on login. If not logged in the redirect to login.php

Function to clean POST variables

0

This functions allows you to filter any post data ready for insertion into MySQL

PHP function to check lenght of string

0

This was the first function I ever wrote and I still use it in nearly every PHP application I create.