August 2011

Code snippet: Restrict access to a page in PHP based on remote hosts IP’s

<?php //get the remote host IP $szRemoteIP = $_SERVER['REMOTE_ADDR']; //this is the array holding the allowed IP's list; $arrAllowedIPs = array("192.168.0.1", "192.168.2.3", "192.168.63.22", "127.0.0.1", "10.10.192.102"); if (!in_array($szRemoteIP, $arrAllowedIPs)) { //if IP's is not in the… Read More »Code snippet: Restrict access to a page in PHP based on remote hosts IP’s

New release of Tiny Core 3.8

Team Tiny Core is pleased to announce the release of Tiny Core 3.8 You can download it from here: http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/release/ tinycore_3.8.iso tinycore_3.8.iso.md5.txt Final Change Log: Updated AppsAudit dependencies menu grouping and added “Fetch Missing Dependencies”.… Read More »New release of Tiny Core 3.8