Playgrounds
Snippets
Developers
Compiler
All
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
Coffee
CoffeeScript
ColdFusion
Command
CSS
Delphi
Django
ES6
GLSL
Grunt
Gulp
HAML
Haskell
HTML
iOS
Jade
Java
JavaScript
jQuery
JSX
Less
LUA
MDX
MySQL
Objective
Other
Pascal
Perl
PHP
Plain text
PowerShell
Processing
Progress
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
SCSS
SmallBASIC
Smarty
SQL
Stylus
SVG
Swift
TypeScript
VHDL
X++
XHTML
XML
Xojo
XSLT
New snippet
New playground
Sign up
Login
Upload
Playgrounds
Snippets
Developers
Sign up
Login
Codepad is a place for developers to share code snippets (PHP, Java, Bash, C, C++, Python and more). Create your HTML, CSS and JS Demos.
Sign up
Learn more
PHP and HTML
28
snippets by
Avan C.
PHP Mailer with HTML body
PHP
1
7
2400
Add conditional links for Internet Explorer CSS in WordPress
PHP
0
2
1307
PHP // Replace last substring
PHP
0
2
1224
Force SSL for your entire WordPress website
PHP
0
7
2790
@import in child themes of WordPress
PHP
0
6
1838
Copy to clipboard without flash
HTML
0
3
1331
Move circle along a motion path - animateMotion | SVG | HTML
HTML
1
4
3273
Bouncing
HTML
0
1
1305
Get data
PHP
0
2
1007
Example Mail Logging System
PHP
0
3
1760
WordPress filter Author in RSS Feeds to be static
PHP
0
2
1244
How to cut text with php
PHP
0
1
1496
The Simplest Parallax Background
HTML
0
1
1661
Exclude Custom Taxonomy Term Posts from Custom Posts Query
PHP
0
3
1756
HTML Select Box with Country List
HTML
0
8
6014
Smooth clip-path image appear transition
HTML
0
2
1307
Check if string contains specific word with PHP
PHP
0
5
1882
Get the first letter of a string with PHP
PHP
0
5
13284
Get the current page URL using PHP
PHP
0
8
2098
Get the files and folders of a directory
PHP
0
5
1752
Capitalize the first letter of each word in PHP
PHP
1
7
2143
Remove whitespace from string
PHP
0
4
1786
Send a SMS to a cell phone using the TextMagic API
PHP
1
15
2685
Display Facebook fans count in full text
PHP
0
10
1750
Determine the dominant color of an image
PHP
0
10
1832
Get info about the memory usage
PHP
0
11
1953
Compress data using gzcompress()
PHP
0
10
2028
Whois query using PHP
PHP
0
17
2096