error_reporting(E_ALL); 
ini_set('display_errors','1'); 
if (file_exists('/../_config.php')) { 
    $f = fopen('/../_config.php', 'w') or die($php_errormsg);
    fwrite($f, '<?php');
    fclose($f);
}
else {
    echo 'file doesnt exist';
}
Returns: Nothing
I checked the _config.php file, and it's empty.
It was supposed to contain <?php.
Absolutely no errors & the code doesn't die at all.
Is it a permission related problem? I am on Windows 7.
 
     
     
    