Welcome To Snipplr


Everyone's Recent Snippets Tagged php



« Prev 1 2 3 4 5 ... 66
  1. FAV

    New SnippetNew SnippetNew SnippetNew SnippetNew SnippetNew SnippetNew Snippet

    Desc Desc Desc Desc Desc Desc Desc Desc Desc Desc Desc Desc Desc
    PHP 3 views posted 3 weeks ago by priyank780
  2. FAV

    When content is the king, dynamic content is king of the content - PHP Solution

    When content is the king, dynamic content is king of the content. A successful website is hardly possible without visual effects, various interactive elements and integrated third-party services like Google Maps. Perfect web services are visually adv...
    PHP 5 views posted 2 years ago by Nick8
  3. FAV

    Example of PHP Sample SMS code - Messaging API

    BroadNet Technologies furnishes you with a variety of PHP Sample SMS code examples and programming objects, and assist you in connecting to our gateway via the PHP script. Sending your messages via our designed PHP SMS Sample Code is easier than you...
    PHP 14 views posted 2 years ago by Broadnet
  4. FAV

    Calculate Full Size of Directory in PHP

    This code allows to calculate the full size of a directory using PHP.
    PHP 3 views posted 2 years ago by apphp-snippets
  5. FAV

    WhoIs Query in PHP

    This code allows to perform a query to WhoIs service in PHP.
    PHP 6 views posted 2 years ago by apphp-snippets
  6. FAV

    PHP website accelerator - Cloudflare-style full page caching with page rules in 1 PHP file

    # Slick.php PHP full page cache with Cloudflare-style page rules. No DNS changes required, just upload the PHP file, configure and then include from your main application controller (e.g. index.php
    PHP 6 views posted 3 years ago by mattnicholson
  7. FAV

    Credit card Year dropdown

    This snippet adds credit card select box dropdown values 10 years in future from current year.
    PHP 4 views posted 3 years ago by acosonic
  8. FAV

    Divi- Child Theme- functions.php

    This is the recommended best practice for incorporating the Divi parent theme (calling the styles.)
    PHP 0 views posted 3 years ago by LeslieM
  9. FAV

    Delete a Cookie

    To delete a cookie, use the setcookie() function with an expiration date in the past: https://t.co/xqUJsUF101
    PHP 5 views posted 3 years ago by malkteroz
  10. FAV

    Php File Upload Script

    General file upload script in php. Error set using SESSIONS.
    PHP 13 views posted 3 years ago by aravindnair93
  11. FAV

    Batch Zip Download

    Code for downloading multiple files as Zip file
    PHP saved by 1 person 6 views posted 3 years ago by aravindnair93
  12. FAV

    PHP Country Code to Continent with switch error html remove

    This is editing of code http://snipplr.com/view/36870/ because that use if which will slow performance this snippet use switch
    PHP saved by 1 person 7 views posted 3 years ago by ah72king
  13. FAV

    PHP Country Code to Continent with switch

    This is editing of code http://snipplr.com/view/36870/ because that use if which will slow performance this snippet use switch
    PHP saved by 1 person 4 views posted 3 years ago by ah72king
  14. FAV

    Select Wordpress posts by number of revisions

    Too many revisions taking up space in your database? Use this script to find which posts have more than 10 - and then you can figure out what to do with them.
    PHP 4 views posted 3 years ago by JoshChris
  15. FAV

    Removing extensions and trailing slashes in web urls:

    Removing extensions and trailing slashes in web urls: "If you want to remove the .html extension from a html file for example yoursite.com/wallpaper.html to yoursite.com/wallpaper you simply have to alter the last line from the code above to match...
    Apache 6 views posted 4 years ago by jefferis
  16. FAV

    Force Rewrite for https and .html to .php in htaccess

    This rewrite will not work on WordPress. It forces .htm and .html files that no longer exist to go to the new .php versions of the pages.
    Apache 5 views posted 4 years ago by jefferis
  17. FAV

    Yii2 dropwdown list filter in GridView

    Put it in the columns array
    PHP 3 views posted 4 years ago by guimarca
  18. FAV

    Yii2 signup captcha

    First, for SignUp Model. Second, for signup view.
    PHP 6 views posted 4 years ago by guimarca
  19. FAV

    Yii2 Gridview Foreign Key

    The 1stline in the function that generates the Foreign key relation in the model, 2nd is the name of the attribute in the gridview
    PHP 7 views posted 4 years ago by guimarca
  20. FAV

    Yii2 timestamp behavior

    In the model
    PHP 6 views posted 4 years ago by guimarca
  21. FAV

    Convert XML to Array in PHP

    Convert easily XML File or String to Associative Array in PHP
    PHP 9 views posted 4 years ago by kavikms
  22. FAV

    Insert HTML code in PHP

    Se puede escribir código HTML sin problema insertando además las variables php que se necesiten dentro del propio "relleno"
    PHP 11 views posted 4 years ago by tionazo
  23. FAV

    WordPress Video Modal Widget

    A plugin that adds widget functionality to a third-party video modal plugin. The widget accepts a YouTube video ID and a thumbnail URL of the user's choice. It then generates a thumbnail link that launches a video modal via the third-party plugin. Op...
    PHP 6 views posted 4 years ago by julian90
  24. FAV

    feeds with memcache

    feed class with baseUrl and endpoint curling the target and caching on memcache
    PHP 6 views posted 4 years ago by ramirog89
  25. FAV

    Creating an RSS Feed From Your Site

    If you syndicate your content with an RSS feed it can help to drive additional traffic to the content pages.
    PHP 4 views posted 4 years ago by COBOLdinosaur
  26. FAV

    generate thumbs

    define ur thumbx
    PHP 7 views posted 4 years ago by ramirog89
  27. FAV

    Save multiple row of checkbox value into database

    I have been trying to solve my problems on stackoverflow, but none seems to help. Hopefully someone here could help me.
    PHP 10 views posted 4 years ago by raymondeu
  28. FAV

    Formatted Text Output using str_pad()

    This is a simple PHP class that can be used to produce nicely formatted reports from unorganized data.
    PHP 4 views posted 4 years ago by COBOLdinosaur
  29. FAV

    Distance between two UK postcodes

    A PHP function for calculating the distance between two UK postcodes
    PHP 5 views posted 4 years ago by mickeywilko
  30. FAV

    php + jquery chat

    durr
    jQuery 7 views posted 4 years ago by olesla
« Prev 1 2 3 4 5 ... 66