Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged user



« Prev 1 Next »
user authentification
0 573 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 1022 posted 11 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 593 posted 11 years ago by TheNullByte
0 524 posted 11 years ago by kevincam
0 656 posted 11 years ago by kevincam
Add code to theme functions.php file.
0 790 posted 12 years ago by Huskie
1 723 posted 12 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 542 posted 12 years ago by montejunto
0 664 posted 12 years ago by Phibo
probably confusing. it's my first class. not pretty but it works
0 923 posted 13 years ago by cdog
0 775 posted 13 years ago by telltec
0 520 posted 13 years ago by i0ni
Drupal snippet
0 668 posted 13 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 984 posted 13 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 878 posted 14 years ago by lukemcr
Used to sanitize user input for email.
0 471 posted 14 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 596 posted 14 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 556 posted 14 years ago by scopefragger
0 638 posted 14 years ago by iTony
1 716 posted 15 years ago by iroybot
2 598 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 1059 posted 17 years ago by dandyna
« Prev 1 Next »