I have similar problem i get a blank page when I click directly on page i.e. file:///C:/wamp/www/Sand_Box/check.php but when i click on it from localhost your projects Sand_Box check.php or put this address directly in the address bar [
localhost], it works fine. Kindly can some one please help me out why this is happening I am new to PHP and just started learning PHP's ABC