The easiest way to host your code snippets

Code / Paste is an online service which allows users to add, annotate, edit and share your code snippets.

Home · Latest · Trends
Reviews
0
Posted by paki 5 years ago, Thursday, January 19, 2017, 05:40:32 / rated 68 times
Reviews
2
Posted by paki 5 years ago, Wednesday, December 28, 2016, 04:11:52 / rated 44 times
Reviews
0
Posted by paki 5 years ago, Thursday, September 8, 2016, 03:04:22 / rated 35 times
Reviews
0
Posted by Micky 4 years ago, Thursday, August 3, 2017, 02:59:59 / rated 30 times
CSS
Reviews
0
Posted by Ronald 3 years ago, Tuesday, May 29, 2018, 04:20:25 / rated 23 times
PHP
Reviews
1
Posted by jimmy 4 years ago, Sunday, May 13, 2018, 03:51:24 / rated 50 times
CSS
Reviews
1
Posted by Micky 5 years ago, Thursday, December 8, 2016, 06:21:29 / rated 21 times
PHP
Reviews
2
Posted by Michael 5 years ago, Saturday, September 10, 2016, 03:07:57 / rated 18 times
PHP
Reviews
2
Posted by Ronald 5 years ago, Monday, November 21, 2016, 10:48:23 / rated 20 times
PHP
Reviews
1
Posted by Michael 5 years ago, Saturday, September 10, 2016, 03:19:13 / rated 21 times
PHP
Reviews
0
Posted by pport 2 years ago, Wednesday, December 11, 2019, 10:46:24 / rated 16 times
PHP
Reviews
0
Posted by pport 2 years ago, Thursday, December 26, 2019, 01:40:52 / rated 16 times
Reviews
0
Posted by Ronald 5 years ago, Sunday, December 25, 2016, 02:44:24 / rated 15 times
Reviews
0
Posted by Ronald 5 years ago, Tuesday, September 6, 2016, 10:42:24 / rated 14 times
PHP
Reviews
0
Posted by Micky 5 years ago, Thursday, December 1, 2016, 06:27:26 / rated 11 times
PHP
Reviews
0
Posted by cilipe 3 years ago, Thursday, May 2, 2019, 04:15:11 / rated 29 times
Reviews
0
Posted by paki 2 years ago, Tuesday, June 18, 2019, 07:22:14 / rated 12 times
CSS
Reviews
0
Posted by Ronald 5 years ago, Tuesday, September 6, 2016, 10:11:38 / rated 9 times
PHP
Reviews
1
Posted by jimmy 5 years ago, Monday, January 9, 2017, 02:50:09 / rated 9 times
PHP
Reviews
0
Posted by Micky 5 years ago, Wednesday, December 7, 2016, 12:37:43 / rated 8 times
Reviews
1
Posted by bigjoe 4 years ago, Tuesday, August 22, 2017, 06:12:46 / rated 8 times
CSS
Reviews
0
Posted by jimmy 2 years ago, Sunday, June 16, 2019, 01:53:29 / rated 8 times
PHP
Reviews
0
Posted by Ronald 1 year ago, Tuesday, June 23, 2020, 05:42:06 / rated 8 times
Reviews
0
Posted by Michael 5 years ago, Saturday, September 10, 2016, 03:16:20 / rated 7 times
PHP
Reviews
0
Posted by Ronald 5 years ago, Friday, September 16, 2016, 01:10:12 / rated 7 times
PHP
Reviews
0
Posted by Michael 5 years ago, Tuesday, February 21, 2017, 02:06:26 / rated 7 times
PHP
Reviews
0
Posted by paki 4 years ago, Monday, June 26, 2017, 09:21:15 / rated 7 times
Reviews
0
Posted by Ronald 4 years ago, Tuesday, November 14, 2017, 04:52:05 / rated 7 times
PHP
Reviews
0
Posted by cilipe 2 years ago, Thursday, July 11, 2019, 05:30:34 / rated 9 times
CSS
Reviews
1
Posted by jimmy 5 years ago, Monday, January 16, 2017, 02:18:41 / rated 6 times
PHP
Reviews
0
Posted by bigjoe 4 years ago, Sunday, August 6, 2017, 05:31:35 / rated 6 times
SQL
Reviews
1
Posted by paki 4 years ago, Saturday, September 2, 2017, 04:26:09 / rated 6 times
Reviews
0
Posted by Ronald 4 years ago, Wednesday, December 13, 2017, 05:18:51 / rated 6 times
SQL
Reviews
1
Posted by my3profile 3 years ago, Saturday, June 23, 2018, 11:07:37 / rated 6 times
Reviews
0
Posted by cilipe 3 years ago, Friday, May 10, 2019, 12:17:22 / rated 6 times
PHP
Reviews
0
Posted by paki 2 years ago, Sunday, July 28, 2019, 11:56:24 / rated 6 times
Reviews
1
Posted by Ronald 5 years ago, Thursday, November 10, 2016, 04:21:59 / rated 5 times
PHP
Reviews
1
Posted by jimmy 5 years ago, Monday, December 5, 2016, 01:47:20 / rated 13 times
PHP
Reviews
0
Posted by paki 4 years ago, Saturday, June 10, 2017, 03:16:28 / rated 5 times
Reviews
0
Posted by giles 4 years ago, Saturday, September 16, 2017, 04:52:35 / rated 5 times
PHP
Reviews
0
Posted by paki 4 years ago, Tuesday, February 27, 2018, 09:41:12 / rated 5 times
Reviews
0
Posted by Ronald 3 years ago, Saturday, December 8, 2018, 05:48:50 / rated 5 times
PHP
Reviews
0
Posted by cilipe 3 years ago, Sunday, May 5, 2019, 01:44:43 / rated 5 times
C#
Reviews
0
Posted by pport 2 years ago, Wednesday, February 12, 2020, 02:14:06 / rated 5 times
Reviews
0
Posted by Ronald 5 years ago, Tuesday, September 6, 2016, 10:18:23 / rated 4 times
PHP
Reviews
0
Posted by Michael 5 years ago, Saturday, September 10, 2016, 03:13:33 / rated 4 times
PHP
Reviews
0
Posted by Ronald 5 years ago, Friday, September 16, 2016, 01:27:33 / rated 4 times
PHP
Reviews
0
Posted by jimmy 5 years ago, Saturday, January 21, 2017, 05:41:42 / rated 4 times
PHP
Reviews
1
Posted by jimmy 5 years ago, Sunday, March 5, 2017, 01:51:18 / rated 4 times
PHP
Reviews
0
Posted by Micky 5 years ago, Thursday, March 2, 2017, 06:35:12 / rated 4 times
Browse
Apache (3)
Bash (0)
C# (1)
C++ (0)
CSS (16)
Delphi (0)
Diff (0)
Django (0)
HTML, XML (14)
HTTP (0)
Ini (0)
Java (0)
JavaScript (10)
JSON (0)
Makefile (0)
Markdown (0)
Nginx (0)
Perl (0)
PHP (43)
Plain Text (16)
Python (0)
Ruby (0)
Scheme (0)
SQL (6)
VB.NET (0)
VBScript (0)
New Comments
What about: //sort($posts); //rsort($posts); //asort($posts); //ksort($posts); //arsort($posts); krsort($posts); $smarty->assign('posts', $posts); without modifer
Saturday, October 16, 2021, 12:37:31
<?php if (function_exists('is_iterable')) { if (is_iterable($children)) { foreach ($children as $child) render($child); } } else { if ((count($children)) > 0) {...
Thursday, May 13, 2021, 8:54:57
How about: SELECT *, SUM(date >= curdate()) as 'todaycount', SUM(yearweek(date) = yearweek(curdate())) as 'weekcount', SUM(month(date) = month(curdate())) as...
Sunday, January 10, 2021, 4:03:20
.form-control::-webkit-input-placeholder { color: #bec6cc; } .form-control:-moz-placeholder { color: #bec6cc; } .form-control::-moz-placeholder { color: #bec6cc; }...
Tuesday, June 2, 2020, 1:51:32
@Wolterhon true it should be something like this: <?php $finfo = finfo_open(FILEINFO_MIME_TYPE); $mimetype = finfo_file($finfo, $_FILES); if ($mimetype == 'image/jpg' || $mimetype ==...
Sunday, February 16, 2020, 5:46:27