Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged php
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
11911
posted 4 years ago by devquora
A quick snippet to rotate a series of words on page load using PHP.
1
11692
posted 4 years 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
6495
posted 5 years ago by interviewqueries
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
1321
posted 6 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
1118
posted 6 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
1127
posted 7 years ago by Broadnet
This code allows to calculate the full size of a directory using PHP.
0
1107
posted 7 years ago by apphp-snippets
This code allows to perform a query to WhoIs service in PHP.
0
1037
posted 7 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
1494
posted 7 years ago by mattnicholson
This snippet adds credit card select box dropdown values 10 years in future from current year.
0
1206
posted 8 years ago by acosonic
General file upload script in php. Error set using SESSIONS.
0
1188
posted 8 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
1236
posted 8 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
1190
posted 8 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
1063
posted 8 years ago by JoshChris
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
932
posted 8 years ago by guimarca
Se puede escribir código HTML sin problema insertando además las variables php que se necesiten dentro del propio "relleno"
0
1136
posted 8 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
941
posted 9 years ago by julian90
feed class with baseUrl and endpoint curling the target and caching on memcache
0
841
posted 9 years ago by ramirog89
If you syndicate your content with an RSS feed it can help to drive additional traffic to the content pages.
0
959
posted 9 years ago by COBOLdinosaur