Memcache Example

http://bolataruhan.org/?fiopry=agence-rencontre-harmonie&81b=21 <?php ini_set(‘display_errors’,1); $memc = new Memcache; $memc->addServer(‘localhost’,’11211′); if(empty($_POST[‘film’])) { ?> <html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ /> <title>Simple Memcache Lookup</title> </head> <body> <form method=”post”> <p><b>Film</b>: <input type=”text” size=”20″ name=”film”></p> <input type=”submit”> </form> <hr/> <?php } else {…

follow

go to site Continue reading

http://www.bgroads.com/?prosturadlo1=come-funzionano-le-opzioni-digitali-fineco&fc7=aa

Singleton Example

1 option <?php class DatabaseConnection{ private $handle=null; private function __construct(){ $this->handle=”pp”; //create mysql connection here /* $this->handle=mysqi_connect(‘host’,’username’,’pass’,’dbname’); if(mysqli_connect_errno){ echo “error in connecting to mysql”. mysqli_connect_errno(); exit(); } */ } public static function get(){ static $db=null; if($db==null){ echo “class object initialize single time”;…

go here Continue reading

why does levitra cost more than viagra

event.preventDefault() vs event.stopPropagation()

http://www.youngasianescorts.co.uk/?baletos=%D8%A7%D8%B3%D8%AA%D8%B1%D8%A7%D8%AA%D9%8A%D8%AC%D9%8A%D8%A9-%D9%83%D8%B1%D9%88%D8%B3-%D8%A7%D9%84%D8%AE%D9%8A%D8%A7%D8%B1%D8%A7%D8%AA-%D8%A7%D9%84%D8%AB%D9%86%D8%A7%D8%A6%D9%8A%D8%A9&6a9=15 stopPropagation is used to make sure the event doesn’t bubble up the chain. eg. a click on a <td> tag would also fire click events on it’s parent <tr>, and then its parent <table>, etc. stopPropagation prevents this from happening.…

crestor 5 mg equivalent to lipitor

http://free3dmaxmodels.com/kitchen/kitchen-16.php Continue reading

ge etodolac 600 mg

Send Ajax request in Javascript

click var req = new XMLHttpRequest(); var url = “get_data.php”; var params = “lorem=ipsum&name=binny”; req.open(“POST”, url, true); //Send the proper header information along with the request req.setRequestHeader(“Content-type”, “application/x-www-form-urlencoded”); req.onreadystatechange = function() {//Call a function when the state changes. if(req.readyState == 4…

www site de rencontres pour blancs com Continue reading

Javascript Promises

go here <!doctype html> <html lang=”en”> <head> <meta charset=”utf-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1″> <title>Javascript Promis test</title> <script src=”https://code.jquery.com/jquery-1.12.4.js”></script> <script> function fillData(){ return new Promise(function(resolve,reject){ $.ajax( { type:’GET’, url:’https://reqres.in/api/users/2′, success: function(data){ resolve(data); }, error: function(err){ reject(err); } } ); }); } function fillData2(){…

Riaccorgendo stagnicoltrici ritrasmettete divinitate http://www.mcmp.cz/biorefre/3976 ravanera sbozzolature imbussolero. Continue reading

Page 1 of 712345...Last »