Hey, sorry about all the threads, posted about 4 today, thought it would be better to post them as seperate threads as they are seperate problems...
right... Ive got my create new file and CHMOD it script:
//---------------CHMOD-------------------------
$ourFileName = "Artist-".$BandName.".php";
$ourFileHandle = fopen($ourFileName, 'w') or die("can't open file");
if (!chmod($ourFileName,0777))
die ("change permission to 777 failed.");
fclose($ourFileHandle);
//---------------CHMOD-------------------------
But how would I insert stuff into this file in the same script? would it simply be a case of echo "content"; before closing the file? or is there more to it?