Snippets
-
Latest
-
Popular
- Unanswered
Our code snippets format allows our community to share self-contained useful and re-usable pieces of source code that solve some sort of focused problem that can often be used in larger projects.
-
Browser Console Log using PHP
1votes0comments1.1kviews
-
HTML Date Picker with automatic submit upon selection
1votes0comments2.6kviews
-
Mask String with PHP
0votes0comments3.7kviews
-
Get Gravatar Image URL via PHP
0votes0comments1.4kviews
-
Get US State Name or Abbreviation in PHP
0votes0comments1.3kviews
-
Laravel E-mail Validation Rule Requiring Second Level Domain
0votes0comments1.8kviews
-
Get Human Readable File Size in PHP
0votes0comments1.1kviews
-
Determine if PHP script is running via the Command Line
0votes0comments958views
-
Get Domain name from URL
0votes0comments1.1kviews
-
Gzip content via PHP
0votes0comments967views
-
Get a random date between two dates
0votes0comments1kviews
-
Calculate the distance between two GPS coordinates in PHP
0votes0comments946views
-
Display number with ordinal indicator in PHP
0votes0comments924views
-
Convert curly quotes to regular quotes in PHP
0votes1comment3kviews
-
Detect an AJAX Request with PHP
0votes0comments2.4kviews
-
Extended PHP fputcsv with custom line endings
0votes0comments1.1kviews
-
Convert an Array to CSV with PHP
0votes0comments2kviews