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 snippets by Marco Piñero
PHP Socket Server
PHP
1
0
1657
PHP/Linux convert wav to mp3 using lame
PHP
2
2
5486
Ubuntu: Connect php7.0 with sqlserver using pdo.
PHP
0
0
946
PHP/SQL: Reverse order in SQL sentence.
PHP
0
0
883
Ubuntu/Php/Sybase: Connecting sysbase database with php7
PHP
0
0
1205
PHP/Postgresql: Event Listener
PHP
0
0
1121
PHP: Post JSON object to API without curl
PHP
0
0
2453
PHP: Send basic authentication credentials
PHP
0
0
564
PHP: Download file and detect user connection aborted
PHP
0
0
508
PHP: Receiving Bearer Authorization token from header
PHP
0
0
658
Postgresql: Age calculation to Ymd
PHP
0
0
517
PHP/phpcurl: Get & Post
PHP
0
0
602