Welcome To Snipplr
You searched for: http
Everyone's Recent PHP Snippets
- 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
13731
posted 5 years ago by devquora
Before moving on to the site migration, make sure that the new domain is parked for hosting. To do this simply: go to your new domain and if a message appears that the site has not been launched yet, then everything is fine. If nothing will open at a...
0
1279
posted 6 years ago by cerxx
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
1576
posted 6 years ago by devquora
This code will demonstrate how to implement the email validation for form submission by using php.
You can obtain a free account at https://www.mailboxvalidator.com/pay/9
0
1312
posted 7 years ago by Hexasoft
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
1358
posted 7 years ago by Hexasoft
Typically when you use Security->requireSecure() to do https redirects, you have to make sure you do pass all data from http to https.
0
939
posted 8 years ago by Pidarasiya
This is editing of code http://snipplr.com/view/36870/
because that use if which will slow performance this snippet use switch
1
1509
posted 9 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
1417
posted 9 years ago by ah72king
This is the simple plugin for your wp site , with this plugin you can embed snippets code from http://snipplr.com . Easy to use , just paste url from http://snipplr.com and thats it.
Version: 1.1
0
1188
posted 9 years ago by snipembed
In SQL I can get this by adding AND to the join
LEFT JOIN installations i ON a.id = i.app AND i.page = :page
This way I get the installation info for an app that has an installation on the page, but I get null values on the columns for app's that...
0
3073
posted 10 years ago by satie83
Source: https://css-tricks.com/snippets/wordpress/customize-login-page/
Put them in your theme functions.php or make it a plugin.
0
1167
posted 10 years ago by pauloc
Simple script to send SMS throught our HTTP API (Afilnet) with PHP. Steps:
1.- Register in Afilnet. http://www.afilnet.com/anunciante/registrar.php
2.- Login and get credits (10 free) to send SMS
3.- Use this script or html form example include in...
1
1242
posted 10 years ago by Afilnet
To retrieve the weather forecast for your location based only on your current IP, the full tutorial will have the following 5 sections (http://bit.ly/1A5Y651), that will:
- Describe elements needed for weather forecast retrieval
- Describe the weat...
0
1354
posted 10 years ago by Hexahow
Sort & query arrays in PHP. Sort multi dimensional arrays by object properties and filter the array by specific criteria.
Documentation:
https://github.com/mattnicholson/DataList
1
1383
posted 10 years ago by mattnicholson
Thanks to Tom McFarlin for this: https://gist.github.com/tommcfarlin/86e4f040bcc641a86f59
1
1168
posted 10 years ago by adambundy
https://www.chrisjmendez.com/2014/09/19/wordpress-disable-html-in-wordpress-comments/
0
1182
posted 10 years ago by chrisaiv
https://www.chrisjmendez.com/2014/09/19/wordpress-replace-a-themes-google-font-with-your-own/
0
1129
posted 10 years ago by chrisaiv
https://www.chrisjmendez.com/2014/09/08/wordpress-clean-up-dashboard-meta-boxes/
0
1014
posted 10 years ago by chrisaiv
https://www.chrisjmendez.com/2014/09/13/wordpress-remove-header-junk-from-default-wordpress-install/
0
1139
posted 10 years ago by chrisaiv
You might also consider just installing this Wordpress plug-in. It's way easier https://wordpress.org/plugins/google-typography/
0
1068
posted 10 years ago by chrisaiv
Thanks to Tom McFarlin for this.
http://tommcfarlin.com/wordpress-post-exists-by-id/#more-30264
1
1988
posted 10 years ago by adambundy
Aspose.PDF for Cloud API has released PHP SDK which allows PHP developers to convert PDF files uploaded to a remote server to other formats. You can pass URL and format parameters to specify the PDF’s URL and output format and use the PUT method of...
0
2625
posted 11 years ago by johansonkatherine
Mail merge allows you to produce document (potentially large numbers of documents) from a single template and a structured data source. The letter may be sent out to many recipients with small changes, such as a change of address or a change in the g...
0
1674
posted 11 years ago by johansonkatherine
Introduction:
Pin Based login is a mechanism to authenticate user, by sending one time valid pin to user's phone. This implementation makes use of a mOTP API for sending one time pin, via Missed call and thus eliminates any cost involved with the...
0
1125
posted 11 years ago by motp
Simple PHP Backdoor Shell
// http://www.example.com/shell.php?cmd=dir
0
2749
posted 11 years ago by shopsplash
<a href="http://pantuts.com/2013/10/24/ayeemtract-using-curl-parallel/">http://pantuts.com/2013/10/24/ayeemtract-using-curl-parallel/</a>
1
1773
posted 11 years ago by pantuts
By default Apache won't allow you to download a file over 2GB. This PHP script overcomes that along with some extra goodies.
The script will read from standard url path the file on the server to download and display the filesize along with a link...
1
1341
posted 11 years ago by deanhouseholder
Thanks to Stephen Harris for this > http://wordpress.stackexchange.com/questions/50425/show-current-navigation-path-from-menu
1
1482
posted 11 years ago by adambundy
Genius stuff right here from https://gist.github.com/BronsonQuick
1
2300
posted 11 years ago by JoshChris