Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged user
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
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
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
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
Ever needed to get the page your user is currently viewing? This can be done quickly in php all thanks to $_server.
3
779
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
admin panel for php scripts with a login form elaborated by a function.php page, then an upload form with canc option
2
1292
posted 18 years ago by dandyna
« Prev 1 Next »