Error
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.

dir

Simple PHP Math Image Captcha
Thursday, 02 February 2012 23:54

// Simple PHP Math Image Captcha



// captcha width
$captcha_w = 150;
// captcha height
$captcha_h = 50;
// minimum font size; each operation element changes size
$min_font_size = 12;
// maximum font size
$max_font_size = 18;
// rotation angle
$angle = 20;
// background grid size
$bg_size = 13;
// path to font - needed to display the operation elements
$font_path = 'fonts/courbd.ttf';
// array of possible operators
$operators=array('+','-','*');
// first number random value; keep it lower than $second_num
$first_num = rand(1,5);
// second number random value
$second_num = rand(6,11);

?>



Credits: 4Dlink Weblists and web4link.com dir

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/J46UpHTOEk0/14621

 
How to use extract() Function in PHP
Thursday, 05 January 2012 01:30
Syntax: extract(array,extract_rules,prefix)


Sample code:


$a = 'Original';
$my_array = array("a" => "Cat","b" => "Dog", "c" => "Horse");
extract($my_array);
echo "\$a = $a; \$b = $b; \$c = $c";
?>



OUTPUT:

$a = Cat; $b = Dog; $c = Horse

Credit: 4DLink Dir and W3Schools.com | Web4link

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/vHPbnxGYbtA/14391

 
Relive The Glory Days Of DOS...On A Website [Internet]
Tuesday, 04 January 2011 23:20
If you still remember DOS commands, congratulations! You're a huge nerd (and/or old)! Your reward is this personal site, which you navigate using DOS-like prompts. (Protip: DIR, HELP and BLOG are all good starting points). [StopWilson via Reddit] More »


Read more: http://feeds.gawker.com/~r/gizmodo/full/~3/gQrkNzGq6bc/this-blog-uses-dos-prompts

 
Create a directory listing in XML format
Sunday, 21 February 2010 11:21
The following rcscript generates an XML listing of the files contained within a file directory:











output: dir.xml (extract)



dir | tag
/home/james



Desktop
dir




Documents
dir




Downloads
dir


...


alias:
alias gdi='rcscript //job:generate-dir http://rorbuilder.info/r/dir.rsf'



Resources:
- Sinatra-Rscript: Read a file directory [dzone.com]

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/9g2ogDhbhGg/10215

 


Taxonomy by Zaragoza Online