1 2 3 4
<?php if (count($argv) != 3) die("Usage: $argv[0] <RSS feed URL> <output dir>\n"); ...
PHP Download all audio enclosur...
Given an RSS feed and an ou...
1 2 3 4
<?php function imagetrim(&$im){ ...
PHP Trim an image vertically
Originally from http://zava...
1 2 3 4
<?php $std = fopen("php://stdin", "r"); echo "TICTACTOE\n\n\n\n"; ...
PHP Command-Line TicTacToe
Just wondering if there are...
1 2 3 4
<?php function ircinit() { ...
PHP Socket Loop, Need Constant ...
This code is the main funct...
1 2 3 4
<?php $params = array('SID','t','p','hilite'); ...
PHP Removing Parameters from an...
by Martindale,
February 07, 2008 17:32,
6 refactorings
Removing a list of paramete...
1 2 3 4
<?php require_once("arc/ARC2.php"); // http://arc.semsol.org/ ...
PHP Parse del.icio.us RSS feed
Uses ARC RDF parser from ht...
1 2 3 4
<?php // Eval encoded file decrypter // V 1 - 01/26/2008 ...
PHP Eval encoded file decoder
by ellisgl.myopenid.com,
January 26, 2008 17:08,
19 refactorings, tagged with php, decode, encrypted, eval
I was having an issue with ...
1 2 3 4
function db_cache_2($query)
{
// Query cache table
...
PHP DB Cache
by ellisgl.myopenid.com,
January 14, 2008 22:48,
6 refactorings, tagged with php, cache, mysql, update
It's a DB caching scheme th...
1 2 3 4
function makeClickableLinks($text) {
# http
...
PHP Plain Text to clickable
This works for http:// http...
1 2 3 4
<?php function fetch($url,$start,$end){ ...
PHP Wikipedia API and text form...
by z3ro,
January 09, 2008 18:37,
No refactoring, tagged with wikipedia, api, wikimedia, php, xml, regex, parser, formatting, plain html, html, convert
I need to add Wikipedia's i...
1 2 3 4
<? php if $userinput = "http://www." { ...
PHP Replace user input with link
by Mlopez,
January 02, 2008 01:39,
7 refactorings, tagged with replace, text, with, url, php, user, help, phrasing, parsing, http
im not quite sure where to ...
1 2 3 4
<?php if (substr($_SERVER['HTTP_REFERER'], 0, 33) == "http://www.thegrandtournament.com") { ...
PHP Log Referer, Excluding...
by Martindale,
December 12, 2007 20:37,
8 refactorings
This code is embedded withi...
1 2 3 4
<?php if ( the_ID() == 8) { echo "<div id='menu_show' class='slideshow'> <img src='http://www.someone.com/wp-content/themes/True%20Nature/img/rotate1.jpg' alt='A picture' width='748' height='245' /> ...
PHP Output div block with PHP c...
Hi, I am just scratching th...
1 2 3 4
<?php $options = $_GET['options']; ...
PHP dynamic select box
by blank714.myopenid.com,
November 28, 2007 07:19,
2 refactorings
is there any way to shorten...
1 2 3 4
<input id="username" name="username" type="text" size="30" value="<?php
if (isset($_POST['username'])) {
echo $_POST['username'];
...
PHP <input value=''> func...
How can I put the php-code ...
1 2 3 4
<?php function fecha () { ...
PHP Spanish date Function
by streo.myopenid.com,
November 13, 2007 11:54,
2 refactorings, tagged with date, spanish, php, StReO, 3v-doble
hi, I'm a student and i cre...
1 2 3 4
<?php class MyClass{ function __construct(){ ...
PHP Crossversion constructors f...
by fullo,
November 09, 2007 16:08,
3 refactorings, tagged with php, oop, object, constructor, php5, php4
Which one is the best cross...
1 2 3 4
<?php $host = "host"; $user = "user"; ...
PHP Message system IP-ban
I'm trying to get this to w...
1 2 3 4
<?php $flacpath = '/bin/flac'; ...
PHP FLAC -> Multiple File Ty...
by wegosublime,
October 31, 2007 17:33,
5 refactorings, tagged with cron, mp3, flac, ogg, music, record company, sql, shell, command line
This is part of a larger pr...
1 2 3 4
<?
#dl("php_gd2.dll");
...
PHP Thumbnail generator
by tempouser.myopenid.com,
October 31, 2007 13:28,
10 refactorings, tagged with image thumbnail gallery
i got this code running on ...
1 2 3 4
<? function robots_allowed($url){ $current_url=$url; ...
PHP Robots Reader
by Matt,
October 28, 2007 15:44,
2 refactorings, tagged with robots, txt, robots.txt, reader, open, download, spider, crawler, search
This code will refer to the...
<?php