PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
$ourFileName=$path."".$filename;
$ourFileHandle = fopen($ourFileName, 'w') or die("can't open file");
fwrite($ourFileHandle,"what u want to write to the file?")
fclose($ourFileHandle);
w is write
a is append
r is read...there are still some other parameters available