Welcome To Snipplr
Everyone's Recent PHP Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
use <?php>/images/someimage.gif
Such a path resolves to ..
http://www.yoursite.com/wp-content/themes/YOURTHEME/images/someimage.gif
0
560
posted 12 years ago by disgruntledillon
Just replace the URL in the fetch_rss line below with the RSS feed to your Twitter favorites. In fact this will work with any RSS feed.
0
498
posted 12 years ago by jamiebrwr
Using the bootstrap provided by http://jonathonhill.net/codeigniter/cron/
0
379
posted 12 years ago by littlebird
Mockup of how to create a SessionContext using PHP SOAP and ClientServices 2
0
437
posted 12 years ago by patriksvenssonmpsbroadbandcom
This gets the content from the page with the ID 22 (change as appropriate on line 1) and echos the first 20 words (change word count on line 8) - can be used on any page inside your Wordpress theme.
0
503
posted 12 years ago by wahnbriefe
Primeiro de tudo criar um novo formulário com os campos:
Criar campos:
nome
username (com validação alphanumeric)
password
email
e um submit button.
Na área dos scripts colocar o código e ter em atenção que conforme a versão do joom...
0
564
posted 12 years ago by montejunto
Simple simple simple function to make a checkbox for a form. Retains checked status.
0
540
posted 12 years ago by brownrl
a more useful way of printing php arrays in a nice readable format and able to decode serialized and json_encoded strings.
0
743
posted 12 years ago by liamchapman
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
635
posted 12 years ago by oozolii