Welcome To Snipplr


Everyone's Recent Snippets Tagged php



1 ... 10 11 12 13 14 ... 64
0 1355 posted 13 years ago by shufflepath
0 1134 posted 13 years ago by shufflepath
gfgd dg fgfg fg g
0 1055 posted 13 years ago by vijendramisra
Write less and do more mysql in php.
4 2129 posted 13 years ago by iceman
Use always
0 1395 posted 13 years ago by soup
This PHP code is made to help people using the ActionScript 3 AlivePDF library to save PDF files from a Flash app to a server. ActionScript 3 AlivePDF save code: _pdf.save(Method.REMOTE, "save.php", Download.ATTACHMENT, "MyFile.pdf");
0 2678 posted 13 years ago by vamapaull
Force downloadable file with php
0 2370 posted 13 years ago by rickygri
use an object as an array
0 2621 posted 13 years ago by prwhitehead
Set a variable by getting the URLs id with PHP. Find the the option with the name value that is equal with the variable and add "selected" to it.
0 1596 posted 13 years ago by LadyLoomis
Requires filter added in ECP 2.1
2 1498 posted 13 years ago by nciske
Navigating the DOM in jQuery is incredibly simple and thats to phpQuery you can do the same in php. Below are some examples of how it's used, the key change bing that instead of $() you use pq(), and instead of a . you used ->. Theres alot more detai...
0 1750 posted 13 years ago by FatFolderDesigner
0 1092 posted 13 years ago by shufflepath
0 1333 posted 13 years ago by shufflepath
Php check for the top of the hour
0 1323 posted 13 years ago by poot26
Php conditionals to echo proper audio tags
0 1632 posted 13 years ago by poot26
This sorts a multi-dimensional array by one of the values in the array. Sorts in Desc order (most recent date first).
0 1602 posted 13 years ago by bitsculptor
Show and hide content based on whether or not a user has clicked the 'Like' button of an app.
0 1394 posted 13 years ago by the_construct
0 1508 posted 13 years ago by pruntrut
0 1299 posted 13 years ago by pruntrut
0 1388 posted 13 years ago by pruntrut
0 1198 posted 13 years ago by pruntrut
Getting files, folders, file count, folder count in a directory with php and writing them to a web page
1 3673 posted 14 years ago by duzenz
I like using public properties, as they greatly aid in API development and proper encapsulation. Here's my solution for having the ease of public variable getting without the dangers of public variable setting.
0 1294 posted 14 years ago by phpexpert
1 ... 10 11 12 13 14 ... 64