<?php $oldumask = umask(0); mkdir($url, 0777); umask($oldumask); $myFile = $url."/index.php"; $fh = fopen($myFile, 'w') or die("can't open file"); $stringData ="lots of things"; ?>
Why am I not being allowed to write files to my website, it was recently working, my host had some technical issues yesterday,, and now it isn;t working.... are they directly related or is this just coincidence?
If just a coincidence.. can anyone offer any solutions please?!