webproger > cheat sheets
 
 PHP manual
http://qindex.info/i.php?f=1626#2687
 
Unix
 Unix Commands   • YouListen  
 
 ASCII, American Standard Code for Information Interchange
http://qindex.info/i.php?f=1626#67
 
 CSS
http://qindex.info/i.php?f=1626#4
 
 DOM Cheat Sheet
http://qindex.info/i.php?f=1626#10608
 
 HTML meta http-equiv
<meta http-equiv='refresh'
      content='5; url=http://qindex.info'> ...
http://qindex.info/i.php?f=1626#2622
 
HTML/CSS
• articles    Character Entities    CSS Properties (Brian Wilson)    CSS Properties (W3C)   • DOCTYPE    Dummy Greek Text    HTML 4.01 Attributes (W3C)    HTML 4.01 Elements (W3C)    HTML5 canvas tutorial   • P3P   • Quick Canvas    Quick Meta Tags   • RSS   • standards/documents   • statistics   • validation    xhtml1-frameset.dtd    xhtml1-strict.dtd    xhtml1-transitional.dtd   • XML  
 
 HTML5
<!DOCTYPE html><html><head>
<title></title>
<meta name='description' content=''>
<meta name='viewport'
  content='width=device-width,initial-scale=1.0'>
<link rel='stylesheet' href=''>
<style></style>
<script src=''></script>
<script></script>
</head><bod ...
http://qindex.info/i.php?f=1626#1635
 
JavaScript
 charAt, charCodeAt, fromCharCode    charCodeAt, fromCharCode    exec    RegExp, match, replace    setTimeout  
 
 JavaScript functions and objects
JavaScript 1.3 predefined functions and objects, navigator objects. Navigator object heirarchy.
http://qindex.info/i.php?f=1626#95
 
 JavaScript JSON
var j = {
   v: 0
  ,c: function() {
    g = this;
    this.v = 0;
    this.f = function() {
      window.alert(g.v);
    };
    this.e = function() {
      attach(window,'load',this.f);
    };
  }
}
o = new j.c();
o.v = 1;
o.e();
//1 ...
http://qindex.info/i.php?f=1626#2441
 
MySQL
 MySQL manual    MySQL summary    REGEXP  
 
 MySQL CREATE TABLE
CREATE TABLE t (
  i int(10) auto_increment,
  s varchar(32) default 'no data',
  c text,
  p varchar(32),
  t int(10),
  PRIMARY KEY (i)
); ...
http://qindex.info/i.php?f=1626#766
 
PHP
 copy    filesize    file_exists    header    mysql_fetch_array    mysql_num_rows    mysql_real_escape_string    ob_start(), ob_get_contents()    ob_start,ob_clean    preg_match    preg_match_all    preg_replace    rawurlencode  
 
 PHP class
class c {
    var $v;
    function c($i) {
        $this->v = $i;
    }
    function f() {
        echo $this->v;
    }
}
$o = new c('o');
$o->f();
//o ...
http://qindex.info/i.php?f=1626#2618
 
 phpinfo
http://qindex.info/i.php?f=1626#16144
 
 phpinfo cheat sheet
http://www.qindex.info/Q_incld/othr_phpinfo.php?name=value#hash

$_SERVER['HTTP_HOST']
www.qindex.info

$_SERVER['PHP_SELF']
/Q_incld/othr_phpinfo.php

$_SERVER['QUERY_STRING']
name=value

$_SERVER['DOCUMENT_ROOT']
/home/Qindex

$_SERVER['REQUEST_URI']
/Q ...
http://qindex.info/i.php?f=1626#2633
 
 qinfo
http://qindex.info/i.php?f=1626#6
 
 regular expression
Regular Expression in various scripts or languages.
http://qindex.info/i.php?f=1626#16688

-