Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 4 5 6 7 8 ... 152
Statt mit .htaccess kann eine 301-Weiterleitung auch über php erfolgen
0 419 posted 7 years ago by ulfinger
WE-Objekte ohne Umwege direkt aus php erstellen. Das ist vor allem dann sinnvoll, denn die Eingaben vorher geprüft und verarbeitet werden sollen oder wenn ein Eingabeformular über mehrere Seiten geht.
0 381 posted 7 years ago by ulfinger
Einfache PHP-Auswertung auf ausgefüllte Pflichtfelder und korrekte Email. Nachricht geht an Empfänger, Bestätigungsmail geht an Absender.
0 370 posted 7 years ago by ulfinger
Magento Social Login Extension adds social login to your e-store and enables quick login with Twitter, Facebook, Yahoo and Google. This Social Login Magento Extension will help you to increase sign-up and conversion rate as well. By using this Magent...
0 450 posted 7 years ago by alastarmason1
https://www.chrisjmendez.com/2014/09/19/wordpress-disable-html-in-wordpress-comments/
0 438 posted 7 years ago by chrisaiv
https://www.chrisjmendez.com/2014/09/19/wordpress-replace-a-themes-google-font-with-your-own/
0 428 posted 7 years ago by chrisaiv
This post having the list of top 50 cakephp interview questions and answers
0 388 posted 7 years ago by kp32
enter the full name you want displayed alongside the email address
0 411 posted 7 years ago by chrisaiv
Found elsewhere on the Internet after much searching, this one worked perfectly for me.
0 451 posted 7 years ago by Dazecoop
This post will explain how to upload and download PDF file in cakephp.
0 630 posted 7 years ago by kp32
How to post a notification to Facebook's Graph API.
0 441 posted 7 years ago by MaRmAR
This snippet will explain you how to generate and integrate the captcha in PHP.
1 316 posted 7 years ago by kp32
Remove all those boxes on the Wordpress Dashboard
0 356 posted 7 years ago by chrisaiv
Gravity Forms by default will write an inline JavaScript call to jQuery on every form you add to a page.
0 342 posted 7 years ago by chrisaiv
Prevents wordpress back-end from stripping formatting
0 260 posted 7 years ago by chrisaiv
Over the years, wordpress has placed a lot of junk in their system.
0 399 posted 7 years ago by chrisaiv
Disallow HTML in WordPress comments, add this snippet to your functions.php file.
0 403 posted 7 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 367 posted 7 years ago by chrisaiv
Add Login / Logout to your WordPress Menu. You must have UserPro
0 358 posted 7 years ago by chrisaiv
If you make a lot of edits, eventually the revisions will start to bother you or bog down your database. Heres how you can put a cap on the number of recorded revisions.
0 336 posted 7 years ago by chrisaiv
To encourage subscribers to visit your website, rather than letting them just consume content through your RSS feed, you might want to display only the excerpt and featured image of posts.
0 380 posted 7 years ago by chrisaiv
If you want statistics about your subscribers, you’ll have to use FeedBurner instead of Wordpress' out-of-the-box feed.
0 344 posted 7 years ago by chrisaiv
If you user logs in and they're on a mobile phone, they might get that annoying black bar on top. This script removes that if they can edit posts or on mobile.
0 359 posted 7 years ago by chrisaiv
Checks if a particular user has a role.
0 394 posted 7 years ago by chrisaiv
It's probably not a good idea to always use this trick but if you need to, you'll be glad you bookmarked this script.
0 339 posted 7 years ago by chrisaiv
Insert a favicon using functions.php
0 270 posted 7 years ago by chrisaiv
One thing that can go wrong in WordPress magazine themes is when users include too many words before the more tag.
0 312 posted 7 years ago by chrisaiv
Hey guys how is everything going I am currently working on my own content management system and decided I would release a little pre-installation checklist script that makes sure you have all the required functions enabled on your hosting environment...
0 389 posted 7 years ago by bcherdak
Match nested html elements using regular expressions. Replace the first part of the magic "[a-z]+" to search for a specific tag, e.g. "div". Loop the magic on matched parts to create a recursive match.
1 341 posted 7 years ago by pvq
Add the code below to change the Home & Site URL that is configured in the database (wp-options table) by WordPress. Whenever you copy/move a site to a new hosting and the URL has changed you can use the code below to fix any strange redirects that m...
0 377 posted 7 years ago by 108Bits
1 ... 4 5 6 7 8 ... 152