The Open Source Swiss Army Knife

/code/php/
/code/php/ + sub-categories
http://www.sirfsup.com/
web directory content
    
      

Not logged in
Chat Register Login
return to:  http:/www.sirfsup.com      /code   /php 
sub-categories and articles

                                                  
dirarrays_php php array handling sample code
dirbin_php add
dirclasses_php add
dirdatabase_php add
dirfirsts_php check if php installed and working using these simplest of php files and code!
dirfunctions_user_php style for user functions
dirhtml_forms_php add
diri18n_php php and multiple character sets
dirobject_oriented_php object orientation in php
dirregexp_php add
dirsession_php add
dirsystem_php add
dirtemplates_php source and demos for php template libraries vlib and Smarty,
dirxml_php add
   --->create new sub-category


addslashes.php [source]
add

<?php

addslashes2.php [source]
add

$author=addslashes($author);

addslashes3.php [source]
add

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

array_key_exists.php [source]


   $valueArrWannabe = db_getOne($template,"SELECT value FROM data WHERE userid = '        $_SESSION[userid]' AND qid = '$matches[1]'");

array_key_exists2.php [source]
add

<?php

array_search.php [source]
add

<?php

break_continue.txt
add

break and continue ================== The break statement will stop a loop from being executed. The continue statement will skip the execution of the loop and will go to the next iteration

empty.php [source]
add

<?php

explode.php [source]
add

<?php

functions.htm
the aggregate and date functions with examples

response to dblist.php

heredocs.php [source]
add

<?php

htmlspecialchars.php [source]
add

<?php

implode.php [source]
$comma_separated = implode(",", $array);

<?php

implode2.php [source]
add

<?php

is_array.php [source]
add

     $theAnswer = db_getOne($template,"SELECT value FROM data WHERE userid = '$_SESSION[userid]' AND qid = '$questRes[qid]'");

list.php [source]
loops through result set of multiple rows

<?php

mkdir.sh
input to php_exec.php file

#!/bin/sh mkdir maker sudo chown dave maker

philo.php [source]
add

<?php

phpExec.txt
add

/* {{{ php_Exec * If type==0, only last line of output is returned (exec) * If type==1, all lines will be printed and last lined returned (system) * If type==2, all lines will be saved to given array (exec with &$array)

php_exec.php [source]
php_exec and passthru() and perhaps a shell script

<html>

phpinfo.php [source]
add

<html>

phpinfo.phps [source]
add


shell_exec.php [source]
add

<?php

solve_this.php [source]
add

<?php

strings_comp.txt
php string comparison

alwasy use strcmp? is there not "eq"? i guess not ...

strpos.php [source]
php strpos failure check for failed match

<?php

strpos1.php [source]
add

<?php

strpos2.php [source]
stripos failure check

<?php

strtotime.txt
Parse about any English textual datetime description into a Unix timestamp

strtotime --------- int strtotime ( string time [, int now]) Description -----------

system.php [source]
add

<?php

unlink.php [source]
php delete file function command

<?PHp

urlencode.php [source]
add

<html>

var.php [source]
class

<?php  
   --->upload your article


User submitted category site links


strings file December
1. PHP: break - Manual
PHP downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net Keyboard...
URL: http://kr2.php.net/manual/en/control-structures.break.php - 36KB - 22 Oct 2008
2. PEAR :: Manual :: DB_result::fetchRow()
RSS feed PEAR
URL: http://pear.php.net/manual/de/package.database.db.db-result.fetchrow.php - 18KB - 12 Feb 2007
3. PHP: array_intersect_key - Manual
Keyboard shortcut: Alt+S (Win), Ctrl+S (Apple) s earch for in the function list whole site online documentation [en] bug database general mailing...
URL: http://theserverpages.com/php/manual/en/function.array-intersect-key.php - 25KB - 20 May 2005
4. Wines
DB Error: connect failed...
URL: http://www.webdatabasebook.com/2nd-edition/examples/ch07/example.7-1.php - 1KB - 31 Oct 2008

-->submit a page from your site dealing with php to the sirfsup! web directory for listing

return to top