Welcome To Snipplr


You searched for: http

Everyone's Recent PHP Snippets



1 2 3 4 5 6 ... 10
Simple call imageExists('http://example.com/image.jpg'); true if it exists else false.
0 1814 posted 14 years ago by MichaelM
This PHP class can be used to process credit card payments via Cybersource. It can send HTTP requests to Cybersource SOAP Web services API server to perform several types of operations to process credit card payments. Currently it can request...
0 1614 posted 14 years ago by mafhh14
send mail with attached file examples: http://framework.zend.com/svn/framework/standard/trunk/tests/Zend/Mail/MailTest.php
0 1608 posted 14 years ago by necode
"Escapa caracteres especiales en la cadena no escapada, teniendo en cuenta el conjunto de caracteres actual de la conexión para que sea seguro usarla en mysql_query(). Si se van a insertar datos binarios, esta función debe ser usada. mysql_real_...
0 1980 posted 14 years ago by skozz
Save config: http://inchoo.net/ecommerce/magento/how-to-programmatically-change-magentos-core-config-data/ http://www.magentocommerce.com/wiki/5_-_modules_and_development/0_-_module_development_in_magento/how_to_add_a_custom_module_for_custom_admin_...
0 1381 posted 14 years ago by necode
[Related SQL query to create the storage table](http://snipplr.com/view/56995/sql-query-to-create-a-table-in-mysql-to-store-tweets/ "Related SQL query to create the storage table")
0 2680 posted 14 years ago by eddequincey
http://codemagento.com/2011/04/observers-and-dispatching-events/
0 2364 posted 14 years ago by necode
Refer to the following: http://codex.wordpress.org/Class_Reference/wpdb
0 3340 posted 14 years ago by redconservatory
A great plugin for Wordpress: http://podscms.org Currently does not play well with plugins that use custom fields but this will change in version 2. For more information, refer to: http://mondaybynoon.com/2010/01/04/introduction-to-pods-cms-w...
0 1577 posted 14 years ago by redconservatory
Created by me as a quick and secure way of creating a username and password for basic authentication via a .htpasswd file on an Apache server. A live demo is available at http://www.chrishair.co.uk/supgha/ Thanks.
0 1699 posted 14 years ago by hairzo
use <?php>/images/someimage.gif Such a path resolves to .. http://www.yoursite.com/wp-content/themes/YOURTHEME/images/someimage.gif
0 1416 posted 14 years ago by disgruntledillon
Using the bootstrap provided by http://jonathonhill.net/codeigniter/cron/
0 926 posted 14 years ago by littlebird
Ha az internet explorerben nem sikerül a fájl letöltése(olyan hibát dob, hogy nem tudja letölteni), akkor ezt a headerbe kell belerakni és már töltődik is a fájl.
0 2358 posted 14 years ago by oozolii
Serverside script for a personal DynDNS service. Works together with a clientside script written in ruby [ http://snipplr.com/view/55484/own-dyndns-service-clientside-script/ ] . Redirect to current saved IP(http, port 80): http://dynDns.yourver...
0 2649 posted 14 years ago by madc
usefull navigation stuff works in magento 1.5.0.1 http://www.webdesign-blog.ch/?p=17 http://www.pauldonnellydesigns.com/blog/get-parent-category-name-in-magento/
0 2654 posted 14 years ago by nico65
Returns the same string, except with links wrapped in <a href=""> tags. Works on www.snipplr.com and on http://snipplr.com A variation of the script on the attached URL.
0 2509 posted 14 years ago by nebojsac
Nothing revolutionary, just a simple implementation. A reworking from Brian Cray's source code: http://briancray.com/2009/08/21/tweeted-links-twitter-api-php-cache/ Note: requires creating a cache file, '/caches/twitter', relative to source.
0 1588 posted 14 years ago by richardmaisano
facebook php-sdk from https://github.com/facebook/php-sdk/
0 1358 posted 14 years ago by erikportin
Taken from an article of http://smashingmagazine.com
0 1411 posted 14 years ago by xavsio4
the POSIX Regex functions are deprecated in PHP 5.3.0 and removed in PHP 6. http://us2.php.net/manual/en/function.eregi-replace.php
0 2584 posted 14 years ago by dubogii
Inspired by http://subesh.com.np/2010/08/magento-setting-default-shipping-method-cart-page/. Basically Magento requires only countryId in shipment address to show shipment methods (at least in polish case). Very useful if you want user to select shi...
0 1814 posted 14 years ago by ef
If you've ever tried to subscribe to a podcast outside of iTunes but only have an iTunes URL, you know how frustrating it is. Turns out that you just need to spoof yourself as an iTunes client to see the direct feed URL. This script helps with exactl...
1 2597 posted 14 years ago by lasavior
Based upon http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/
0 1628 posted 14 years ago by withinmedianl
AddHandler application/x-httpd-php .php .htm ... worked for me (directory: xampp/apache/conf)
0 1495 posted 14 years ago by stephcode
Place snippet in functions.php. Works with the Shylock Adsense plugin (http://planetozh.com/blog/my-projects/wordpress-plugin-who-sees-ads-control-adsense-display/)
0 1630 posted 14 years ago by alp
This is a jquery full screen background image plugin for indexhibit using http://srobbin.com/jquery-plugins/jquery-backstretch/
0 1198 posted 15 years ago by orionrush
Ruby uses created_at and updated_at. Here cake will do the same thing. based on http://book.cakephp.org/view/1015/created-and-modified
0 1692 posted 15 years ago by kendsnyder
Date format guide: d = 01 to 12 ; m = 01 to 12 ; More formats: http://php.net/manual/en/function.date.php
1 1421 posted 15 years ago by sdxxx
takes a url and appends http to it if http is not present
0 1502 posted 15 years ago by vonlof
shortcode : [rss size="10" feed="http://wordpress.org/news/feed/" date="true"]
0 1402 posted 15 years ago by nicomollet
1 2 3 4 5 6 ... 10