User Tools

Site Tools


en:references

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:references [2015/02/12 17:07]
garydean [Recomended Reading]
en:references [2017/08/18 13:47] (current)
garydean
Line 1: Line 1:
-<​php>​ +
-$okusi = new mysqli('​localhost',​ '​admin',​ '​Farkle90',​ '​ip2nation'​);​  +
-//if (mysqli_connect_errno()) die("​Connect failed: " . mysqli_connect_error());​ +
-$ip             = $_SERVER['​REMOTE_ADDR'​];​ +
-$query = "​SELECT country FROM ip2nation.ip2nation WHERE ip < INET_ATON('​{$ip}'​) ORDER BY ip DESC LIMIT 0,​1";​ +
-if ($result = $okusi->​query($query)) { +
-    while ($row = $result->​fetch_row()) $country = $row[0]; +
-    $result->​close();​ +
-+
-echo "​$ip|$country|";​ +
-</​php>​ +
- +
 ===== Open Technology References ===== ===== Open Technology References =====
  
Line 35: Line 24:
  
 === Open Source Software === === Open Source Software ===
 +
 +[[http://​wiht.link/​OS-licenses]] Open-Source Software Licenses
  
 [[http://​opensource.org/​]] [[http://​opensource.org/​]]
Line 157: Line 148:
     $result->​close();​     $result->​close();​
 } }
-echo "​$ip|$country|";​+//echo "​$ip|$country|";​
 echo '<​section'​ . ($country=='​id'​ || $country=='​sg'​ || $country=='​my'​ || $country=='​th'?​ ''​ : ' style="​display:​none;"'​) . '>';​ echo '<​section'​ . ($country=='​id'​ || $country=='​sg'​ || $country=='​my'​ || $country=='​th'?​ ''​ : ' style="​display:​none;"'​) . '>';​
 </​php>​ </​php>​
- 
 ===== Recomended Reading ===== ===== Recomended Reading =====
  
Line 168: Line 158:
 When Humans Transcend Biology, by Ray Kurzweil When Humans Transcend Biology, by Ray Kurzweil
  
-{{http://yayasan-teknologi-terbuka.or.id/​SingularityIsNear.pdf|PDF}} +{{http://yatti.id/​SingularityIsNear.pdf|PDF}} 
-[[http://yayasan-teknologi-terbuka.or.id/​TheSingularityIsNear-Audiobook/​|Audiobook]]+[[http://yatti.id/​TheSingularityIsNear-Audiobook/​|Audiobook]]
  
  
Line 176: Line 166:
 The Future Is Better Than You Think, by Peter H. Diamandis The Future Is Better Than You Think, by Peter H. Diamandis
  
-{{http://yayasan-teknologi-terbuka.or.id/​Abundance-TheFutureIsBetterThanYouThink.epub|PDF}}+{{http://yatti.id/​Abundance-TheFutureIsBetterThanYouThink.epub|PDF}}
  
  
Line 185: Line 175:
 to Lock Down Culture and Control Creativity, by Lawrence Lessig to Lock Down Culture and Control Creativity, by Lawrence Lessig
  
-{{http://yayasan-teknologi-terbuka.or.id/​FreeCulture-LawrenceLessig.pdf|PDF}} +{{http://yatti.id/​FreeCulture-LawrenceLessig.pdf|PDF}} 
-[[http://yayasan-teknologi-terbuka.or.id/​FreeCulture-Audiobook/​|Audiobook]]+[[http://yatti.id/​FreeCulture-Audiobook/​|Audiobook]]
  
  
Line 194: Line 184:
 Transparency,​ Truth, and Trust, by Robert David Steele Transparency,​ Truth, and Trust, by Robert David Steele
  
-{{http://yayasan-teknologi-terbuka.or.id/​TheOpen-sourceEverythingManifesto-RobertDavidSteele.epub|ePub}}+{{http://yatti.id/​TheOpen-sourceEverythingManifesto-RobertDavidSteele.epub|ePub}}