Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged user



« Prev 1 Next »
user authentification
0 742 posted 11 years ago by mortu
A simple function for converting a php timestamp (integer) to a user frindly format. Examples: 10 Seconds ago, 4 Days ago. The function converts timestamp to U.F. format only if the timestamp is earlyer than one week. Otherwise it uses $dateFormat ar...
0 1282 posted 12 years ago by TimoZachi
Just a small function to sanitize the user's input of any xss and sqli. I saw a lot of ones that didn't include htmlentities or htmlspecialchars, and were still vulnerable to persistent/reflected xss.
1 784 posted 12 years ago by TheNullByte
0 717 posted 12 years ago by kevincam
0 858 posted 12 years ago by kevincam
Add code to theme functions.php file.
0 1053 posted 13 years ago by Huskie
1 920 posted 13 years ago by focal55
Primeiro de tudo criar um novo formulário com os campos: Criar campos: nome username (com validação alphanumeric) password email e um submit button. Na área dos scripts colocar o código e ter em atenção que conforme a versão do joom...
0 723 posted 13 years ago by montejunto
0 850 posted 13 years ago by Phibo
probably confusing. it's my first class. not pretty but it works
0 1170 posted 13 years ago by cdog
0 981 posted 13 years ago by telltec
0 716 posted 13 years ago by i0ni
Drupal snippet
0 866 posted 14 years ago by apro2000
uFlex or userFlex is an all in one PHP user class that provides developers with a simple yet secured, reliable and flexible framework like structure to authenticate their sites and applications. The purpose of uFlex is to handle the tedious processes...
1 1258 posted 14 years ago by ptejada
This is a simple search function for the [User Groups](http://www.dabbledoo.com/design/docs/User-Groups-Module/) module for ExpressionEngine. It searches groups (names and descriptions) as well as topics and topic replies. It respects group types as...
0 1097 posted 15 years ago by lukemcr
Used to sanitize user input for email.
0 642 posted 15 years ago by jspicher
Ever needed to get the page your user is currently viewing? This can be done quickly in php all thanks to $_server.
3 780 posted 15 years ago by scopefragger
Sometimes you just need to mask a script or reject a user from a page this can be done effortlessly using a single line of code. Header location will allow you to redirect a user quickly and without them having any control over the action. A good...
1 754 posted 15 years ago by scopefragger
0 845 posted 15 years ago by iTony
1 916 posted 15 years ago by iroybot
2 782 posted 16 years ago by halbtuerke
admin panel for php scripts with a login form elaborated by a function.php page, then an upload form with canc option
2 1294 posted 18 years ago by dandyna
« Prev 1 Next »