I am trying to create a file using the following line of code
$fp = fopen("misc/forum.txt", "w");
I then get the following error
Warning: fopen("misc/forum.txt", "w") - Permission denied in /usr/local/psa/home/vhosts/clients.trainit.ie/httpdocs/beyond/miscellaneous_action.php
Is there a setting in my php.ini file that is restricting permission to create the file or is it something else.
Thanks