Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged javascript



« Prev 1 2
  1. FAV List Posts By Terms

    To display events from The Events Calendar Pro organized by taxonomy
    PHP javascript wordpress
    posted 2 weeks ago by reflectiondigital
  2. FAV lastModified.func.php

    With this snippet you will have the ability to deliver the most recent version of any file. When dealing with a browser's cache you can't be certain your viewers are getting the most recent copy. By appending a GET value (the UNIX timestamp) to, f...
    PHP cache javascript
    posted 4 months ago by daemondevin
  3. FAV PHP regex e-mail validation

    It should work for domains like @something.co.uk note that regex will never really be able to match 100% of e-mail addresses without allowing some false positives
    PHP javascript
    posted 1 year ago by plasticbottle
  4. FAV Shorthand for Ternary Operator in PHP

    Shorthand for Ternary Operator in PHP
    PHP code javascript php saved by 3 people
    posted 4 years ago by ursdeep
  5. FAV jQuery UI autocomplete mit JSON und externer php-Seite als Quelle

    Bei Autocomplete aus größeren Datenbanken ist es sinnvoll, die Datenbankabfrage in eine separate php-Datei zu verlegen.
    PHP javascript jquery php sql
    posted 5 years ago by ulfinger
  6. FAV WP External Links

    Configure settings for all external links on your site. Features: * Open external links in new window or tab * Add "nofollow" * Set link title * Set link icon * Set classes (for your own styling) * Set no-icon class * SEO friendly
    PHP javascript links window xhtml
    posted 6 years ago by freelancephp
  7. FAV Validating Image field for Uploading Images in javascript.

    javascript image uplaod
    PHP image javascript
    posted 7 years ago by laxman2021
  8. FAV Alert using JavaScript

    message alert, javascript alert
    PHP javascript
    posted 7 years ago by laxman2021
  9. FAV Using LESS in WordPress

    How to insert the less preprocessor script in WordPress Websites and Blogs
    PHP css javascript php wordpress
    posted 7 years ago by ecksteing
  10. FAV Compress any text-based content.

    This function will compress any text-based content.
    PHP css javascript php saved by 3 people
    posted 7 years ago by o0110o
  11. FAV jQuery Validate Not Equal

    Adds a method to the jQuery Validation plugin (http://bassistance.de/jquery-plugins/jquery-plugin-validation/) to return false if the field equals a specified string
    PHP javascript jquery
    posted 7 years ago by StevenW721
  12. FAV Load specific JavaScript files in header.php in the homepage only? in WordPress

    In your header.php file:
    PHP javascript php wordpress
    posted 7 years ago by planetabhi
  13. FAV Javascript array assigned using php loop

    I'm facing an error when i read the JS array using a JS loop
    PHP javascript php
    posted 7 years ago by kaushikTD
  14. FAV Pass PHP array parameter to Javascript Function

    Writing an PHP array in a javascript file with json_encode.
    PHP array javascript json php
    posted 7 years ago by Narayon
  15. FAV bug landscape iphone

    PHP javascript
    posted 8 years ago by pruntrut
  16. FAV Request data from apprequest facebook api

    Rescatamos los datos que pasamos por apprequest .
    PHP api data facebook javascript url
    posted 8 years ago by serialk89
  17. FAV Apprequest, pasar parametros e invitar amigos, facebook

    Rescatar data desde apprequest
    PHP facebook javascript php
    posted 8 years ago by serialk89
  18. FAV Include & Register Javascript files in WordPress in functions.php

    This code should be added to the functions.php file in the theme's folder. The code will deregister the local copy of jQuery and instead include the google hosted copy. It will also register other scripts.
    PHP javascript wordpress
    posted 8 years ago by jschultz76
  19. FAV Safe redirection

    If your page has already sent headers to the browser you cant redirect with headers('Location:' . $url); But you can use the following:
    PHP javascript php redirect
    posted 8 years ago by prwhitehead
  20. FAV PHP String Encoder (for Javascript Alert, Confirm, etc.)

    PHP javascript saved by 1 person
    posted 8 years ago by frederichoule
  21. FAV Mix expression engine channel entries tag with javascript

    Mix EE channel tag into javascript add the following code into the config array.
    PHP javascript php
    posted 8 years ago by audiopleb
  22. FAV Check if visitor was refered by Google

    PHP javascript
    posted 9 years ago by xtine777
  23. FAV PHP redirect without javascript

    PHP javascript php redirect
    posted 9 years ago by jaredyeo
  24. FAV PHP Array into Javascript Array with JSON

    PHP array javascript json php
    posted 9 years ago by whak
  25. FAV Sample accessory with ajax method for EE 2.x

    PHP ajax javascript jquery php
    posted 9 years ago by audiopleb
  26. FAV ExpressionEngine Accessories only on certain pages

    PHP javascript jquery php
    posted 9 years ago by audiopleb
  27. FAV PHP Function to call up Javascript Alert

    This is to call up Javascript alert through PHP. I hate switching between echoing Javascript while writing PHP so I wrote one in PHP.
    PHP javascript php
    posted 9 years ago by chopbust
  28. FAV Activate JQuery in Wordpress

    cause i'm so lazy
    PHP javascript jquery js wordpress
    posted 9 years ago by Savio
  29. FAV Convert PHP date() style dateFormat to the equivalent jQuery UI datepicker string

    This is a simple bit of code that allows you to do a write once date format in a PHP style date() format and convert it to be used by datepicker jQuery UI widget. It returns the converted string.\r\n\r\nNothing fancy here, but a time saver for the f...
    PHP javascript saved by 1 person
    posted 9 years ago by roblynch
  30. FAV Only allow AJAX for a HTTP Request

    PHP ajax javascript jquery php saved by 8 people
    posted 9 years ago by sb_01
« Prev 1 2