Welcome To Snipplr
You searched for: http
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Descripción: Valida los campos obligatorios enviados por la función validaForm-->http://snipplr.com/view/58245/funcin-validaform-para-validar-formularios-con-parmetros-xml-y-nombres-de-clase/. En el caso de que no sea validado, llama a la función...
0
1077
posted 14 years ago by alberomo
Descripción: Envia un formulario cuando se acciona el evento 'submit'
Devuelve: La función de validación con el objeto formulario del documento.
Requiere de: función envio_form() -->http://snipplr.com/view/58245/funcin-validaform-para-validar-...
0
1458
posted 14 years ago by alberomo
Simple call imageExists('http://example.com/image.jpg');
true if it exists else false.
0
1814
posted 14 years ago by MichaelM
On screen:
Click here to see the pics!
On print:
Click here [link: http://www.shabada.boh] to see the pics!
0
1536
posted 14 years ago by claudiowebdesign
Pure CSS3 buttons with 9 pre-defined colours and 3 styles.
Adapted from Web Designer Wall - http://www.webdesignerwall.com/demo/css-buttons.html
1
1577
posted 14 years ago by Huskie
found via google:
http://www.unix.com/unix-dummies-questions-answers/133697-find-folders-do-not-contain-certain-file.html
1
1630
posted 14 years ago by pspierce
Based on http://www.ncbi.nlm.nih.gov/books/NBK25498/#chapter3.Application_3_Retrieving_large
0
2776
posted 14 years ago by itskkumaran
Copy and paste this code into the URL box and press enter. You will see it happen in realtime. Make sure all of your friends are loaded first, as Facebook uses lazy loading! To learn more, visit my blog post on it at http://www.brettwidmann.com/2011/...
0
1418
posted 14 years ago by goatboy91587
This is a simple example of the google maps javascript API v3. If you want a map with a marker this is the minimum you need to do to get it done. Theres more talk about how it's all set up, and how to use the other static image map as well at the lin...
1
1737
posted 14 years ago by FatFolderDesigner
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
Usage:
Let's say we have an url: http://primera.vremenno.net?foo=yes&bar=no
var hash = getUrlVars();
alert(hash['foo']); // returns 'yes'
alert(hash['bar']); // returns 'no'
0
2692
posted 14 years ago by a1ias
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
1981
posted 14 years ago by skozz
This snippet will send an HTTP POST from an Arduino using the WiFly library. The library is in early alpha, and is a port from the ethernet shield library. The code here should work with either. The critical part is the size of the data to send, a...
0
4003
posted 14 years ago by parkerkrhoyt
Simple código en python que te pregunta tu email (gmail) y el correo de tu amigo, pregunta tu contraseña para loguearse vÃa SMTP en Gmail y enviar el correo. Copyright: http://andriy.im
0
1337
posted 14 years ago by andriyleu
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
1382
posted 14 years ago by necode
Hey guys, I struggled a little to find a crossbrowser, non repetitive params way to embed swfs; this object embed works flawlessly for me in all browsers - ie7, ie8, safari, chrome, firefox. Why is swfobject and YouTube using this format - http://cod...
0
2787
posted 14 years ago by digitalzoomstudio
[Query related to PHP code to save tweets from the twitter search API to a MySQL database](http://snipplr.com/view/56994/save-tweets-using-php-from-the-twitter-search-api-to-a-mysql-database/ "PHP code to save tweets from the twitter search API to a...
0
2354
posted 14 years ago by eddequincey
[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
This font SWF was created using the handy tool FontSwffer (http://blog.madebypi.co.uk/2011/02/28/fontswffer-1-1/)
0
1697
posted 14 years ago by adrianparr
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
Matches the word starting with si or Si and containing : in the word also as an optional. The expression can be tested here http://rejex.heroku.com/
0
1698
posted 14 years ago by punuhan
Artificial intelligence basics : This is a backward chaining implementation which works with horn form knowledge bases. Had some trouble finding any simple and easy to understand examples online - so here's my version!!! http://en.wikipedia.org/wiki/...
0
2452
posted 14 years ago by bjornredemption
Artificial intelligence basics : This is a forward chaining implementation which works with horn form knowledge bases. Had some trouble finding any simple and easy to understand examples online - so here's my version!!!
http://en.wikipedia.org/wiki/...
0
2903
posted 14 years ago by bjornredemption
For this to work you need the as3corelib classes from here ... https://github.com/mikechambers/as3corelib
0
5048
posted 14 years ago by adrianparr
See https://github.com/clemens/i18n_demo_app/blob/master/config/locales/de.yml for the source of the month names etc.
1
1454
posted 14 years ago by riddla
All credit for this class goes to Ben Kanizay (http://bk4d.com)
0
1555
posted 14 years ago by adrianparr