Windows is very, very, very unreliable and slow imo. Before my Mac I had a good spec laptop and even on that Windows was crap. My opinion is only a personal preference I guess though
I prefer Mac alot, alot more. Just the build quality and how it's made. My retina Macbook loads up in about 8 seconds. The battery lasts about 8 hours if i'm surfing the web. Mac OS X is easy to use too. Windows is slow, unstable and unreliable.
Okay, so Tuesday I got a MacBook pro, I installed Xampp as my local webserver and now when I use require_once it's throwing this error:
Warning: require_once(/Applications/XAMPP/xamppfiles/htdocs/hotel/includes/config/config.php) [function.require-once]: failed to open stream: Permission...
Hey,
So i'm making a template system using $_GET['p'], here's it so far:
<?php
## Deny any access
if(!defined('ALLOWED')){exit();}
## Begin the class
class template {
public function initiate() {
global $CONF;
if(!isset($_GET['p'])) {
header('Location: index.php?p=index');
} else {...
<?php
if(mysql_num_rows(mysql_query("SELECT * FROM downloads_log WHERE ip = '" . $_SERVER['REMOTE_ADDR'] . "')) == 1) {
// what you wanna do
}
?>
something like that, might not be exactly right as i just wrote it
It won't matter if the US government does get hold of him. The site will be hosted on multiple servers around the world, so if they take one server down, it won't do any damage lol