Welcome To Snipplr


Everyone's Recent Snippets Tagged php



« Prev 1 2 3 4 5 ... 66
This code is to find the domain age in PHP.
1 728 posted 5 months ago by hexgh12345
Count For Human is a short cut for long digits to short human readable. E.g. 2045 the result is 2k.
0 765 posted 5 months ago by RhynelAlgopera4316
Updating a record in Laravel using Eloquent.
0 814 posted 5 months ago by devquora
Laravel provides several different ways to validate your application incoming data.By default Laravel’s base controller class uses a ValidatesRequests trait which provides a convenient method to validate all incoming HTTP requests coming from client....
0 755 posted 5 months ago by devquora
Learn how to use delete query in Laravel Framework.
0 740 posted 5 months ago by devquora
Clear Laravel Cache on shared hosting
0 748 posted 5 months ago by devquora
A quick snippet to rotate a series of words on page load using PHP.
1 737 posted 9 months ago by danparks
Default session time in PHP is 1440 seconds (24 minutes) and the Default session storage path is temporary folder/tmp on server.
0 725 posted 10 months ago by interviewqueries
Code to upload a file in PHP
0 219 posted 2 years ago by devquora
As HTTP is state protocol.To maintain states on server and share data across multiple pages PHP session are used.PHP sessions are simple way to store data for individual users/client against a unique session ID.Session IDs are normally sent to the br...
0 146 posted 2 years ago by devquora
This tutorial will demonstrate how to implement the autocomplete search function by using php and ajax. You can obtain free IPV6 database at http://www.ip2location.com/free/ipv6
0 170 posted 2 years ago by Hexasoft
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...
0 198 posted 3 years ago by Broadnet
This code allows to calculate the full size of a directory using PHP.
0 151 posted 3 years ago by apphp-snippets
This code allows to perform a query to WhoIs service in PHP.
0 153 posted 3 years ago by apphp-snippets
# 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
0 173 posted 3 years ago by mattnicholson
This snippet adds credit card select box dropdown values 10 years in future from current year.
0 207 posted 3 years ago by acosonic
General file upload script in php. Error set using SESSIONS.
0 160 posted 4 years ago by aravindnair93
Code for downloading multiple files as Zip file
1 143 posted 4 years ago by aravindnair93
This is editing of code http://snipplr.com/view/36870/ because that use if which will slow performance this snippet use switch
1 166 posted 4 years ago by ah72king
This is editing of code http://snipplr.com/view/36870/ because that use if which will slow performance this snippet use switch
1 146 posted 4 years ago by ah72king
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.
0 136 posted 4 years ago by JoshChris
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...
0 169 posted 4 years ago by jefferis
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.
0 200 posted 4 years ago by jefferis
Put it in the columns array
0 118 posted 4 years ago by guimarca
First, for SignUp Model. Second, for signup view.
0 128 posted 4 years ago by guimarca
The 1stline in the function that generates the Foreign key relation in the model, 2nd is the name of the attribute in the gridview
0 140 posted 4 years ago by guimarca
In the model
0 113 posted 4 years ago by guimarca
Convert easily XML File or String to Associative Array in PHP
0 218 posted 4 years ago by kavikms
Se puede escribir código HTML sin problema insertando además las variables php que se necesiten dentro del propio "relleno"
0 165 posted 4 years ago by tionazo
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...
0 147 posted 4 years ago by julian90
« Prev 1 2 3 4 5 ... 66