Welcome To Snipplr
Everyone's Recent Snippets Tagged php
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
replacing single quotes with its (double-escaped) entity, for use of a text within xsl.
2
1501
posted 14 years ago by iroybot
Source: http://www.websitedesignby.com/programming/wordpress-website-development-work-flow-wp-config-php/
0
1028
posted 14 years ago by chrisjlee
A quick snippet of the PHP/Wordpress code behind my archive page, mainly for @andypoppins :D
0
674
posted 14 years ago by psdesignuk
Dear php coders,
Here's a code block that you can use in your projects to get shorter long urls.
Also recommend these articles about [ozon tedavisi](http://www.denizliozon.com) here.
Have a nice coding.
0
1082
posted 14 years ago by jackoder
cleanly display the memory used so you know when your going over, especially useful for memory hog drupal sites.
1
717
posted 14 years ago by electblake
This is the most updated version of my os x php compile script
0
787
posted 14 years ago by iloveitaly
courtesy of mark8barnes (http://wordpress.org/support/profile/52354)
1
816
posted 14 years ago by iroybot
A class for uploading images and creating thumbnails.
Example:
try{
$img = new img('photo');
if($_FILES['photo']['size']>=1000000){
exit('The file size of the file you are trying to upload is over limit.
Your file size = '.$_F...
2
993
posted 14 years ago by leonelsantos
Hello Php Coders,
Here's a useful php code block for your projects to control server status.
Use this code blokc to report a server status result. I hope you'll like it.
Also; i suggest you to rest for a while on [2 KiÅŸilik Oyunlar](http://...
2
954
posted 14 years ago by jackoder
PCRE that matches any kind of YouTube URL and catches its video ID. It supports three kinds of URL: the classic (?v=), the AJAXed one (#!v=) and the short version (youtu.be). It also supports international URLs.
Tested with Javascript and PHP.
1
1614
posted 14 years ago by nkm
Sql para agregar las regiones de Chile en Magento. Utilizado para calcular las tarifas de los envÃos. Probado a través del phpmyadmin en una nueva instalación de magento 1.4.x (probablemente funcione con versiones anteriores)
Para el tutorial d...
0
776
posted 14 years ago by jstnno