Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged user



« Prev 1 Next »
  1. FAV

    PHP User authentification

    user authentification
    PHP 5 views posted 7 years ago by mortu
  2. FAV

    Simple function for converting unix timestamp to user friendly date

    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...
    PHP 17 views posted 7 years ago by TimoZachi
  3. FAV

    Sanitize (MySQL and XSS)

    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.
    PHP saved by 2 people 19 views posted 7 years ago by TheNullByte
  4. FAV

    Determine if Joomla User is a Guest/not logged in

    Determine if the current Joomla! user is logged in or not
    PHP 5 views posted 7 years ago by kevincam
  5. FAV

    Link to Jomsocal User Profile Page

    PHP 6 views posted 7 years ago by kevincam
  6. FAV

    How to get the Jomsocial User Object

    PHP 3 views posted 7 years ago by kevincam
  7. FAV

    Allow HTML in WordPress User Biographical Info

    Add code to theme functions.php file.
    PHP 12 views posted 8 years ago by Huskie
  8. FAV

    Drupal Check if User Has Role

    PHP saved by 2 people 12 views posted 8 years ago by focal55
  9. FAV

    Criar utilizador em rsforms

    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...
    PHP 6 views posted 8 years ago by montejunto
  10. FAV

    DRUPAL : creation + update user

    PHP 4 views posted 8 years ago by Phibo
  11. FAV

    Display a User Gravatar from an Email Address

    PHP 4 views posted 8 years ago by dubogii
  12. FAV

    PHP user / facebook login class

    probably confusing. it's my first class. not pretty but it works
    PHP 36 views posted 8 years ago by cdog
  13. FAV

    Check if user is logged in

    PHP 3 views posted 9 years ago by telltec
  14. FAV

    Detect user agent

    PHP 3 views posted 9 years ago by i0ni
  15. FAV

    How to easily detect mobile devices

    PHP 5 views posted 9 years ago by dropthenerd
  16. FAV

    Check for multiple values in array

    Drupal snippet
    PHP 14 views posted 9 years ago by apro2000
  17. FAV

    Group all user registration fields into one fieldset

    PHP 1 views posted 9 years ago by doublejosh
  18. FAV

    All in one PHP user class - uFlex

    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...
    PHP saved by 2 people 8 views posted 9 years ago by ptejada
  19. FAV

    WordPress comment styling for specific user levels

    PHP 7 views posted 10 years ago by davebowker
  20. FAV

    WordPress show to authors and above

    PHP 8 views posted 10 years ago by davebowker
  21. FAV

    Search function for the User Groups module for ExpressionEngine

    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...
    PHP 10 views posted 10 years ago by lukemcr
  22. FAV

    Sanitize User Input

    PHP saved by 2 people 8 views posted 10 years ago by gabrielsmith
  23. FAV

    sanitize_mail_input($input)

    Used to sanitize user input for email.
    PHP 4 views posted 10 years ago by jspicher
  24. FAV

    Getusers current page

    Ever needed to get the page your user is currently viewing? This can be done quickly in php all thanks to $_server.
    PHP saved by 6 people 2 views posted 10 years ago by scopefragger
  25. FAV

    Redirecting your users browser

    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...
    PHP saved by 3 people 6 views posted 10 years ago by scopefragger
  26. FAV

    Relative Time Function

    PHP 7 views posted 10 years ago by iTony
  27. FAV

    If user is logged in, do this - Concrete5

    PHP 4 views posted 10 years ago by sinecera
  28. FAV

    Basic PHP Login and Forwarding

    PHP saved by 3 people 9 views posted 11 years ago by iroybot
  29. FAV

    User Registration in CakePHP

    PHP saved by 6 people 6 views posted 12 years ago by halbtuerke
  30. FAV

    Gestionale per utente php con form di login, logout, upload e canc files

    admin panel for php scripts with a login form elaborated by a function.php page, then an upload form with canc option
    PHP saved by 8 people 10 views posted 13 years ago by dandyna
« Prev 1 Next »