Hi there, I am trying to use a PHP script that I got, but I have got some errors no that I have got it up and running (sort of)
Has anybody got any idea what these errors are telling me???
Warning: fopen("/usr/local/psa/home/vhosts/blu-i.com/httpdocs/blu-i/Php/users/Admin", "w+") - Permission denied in /usr/local/psa/home/vhosts/blu-i.com/httpdocs/blu-i/Php/functions.php on line 131
Warning: Supplied argument is not a valid File-Handle resource in /usr/local/psa/home/vhosts/blu-i.com/httpdocs/blu-i/Php/functions.php on line 132
Line 131 of the code reads:
$fp = fopen($userfilename, "w+"); // File named as User Name
Please note
$userfilename is defined as - $userfilename = "$accounts_path/$username";
Does that mean I need to have a folder in my web directory called "accounts"
Any help would be appreciated.
Thanks
Full list of errors and the site at the moment is here:
Looks Alright - http://www.blu-i.com/blu-i/Php/register.php
Errors - http://www.blu-i.com/blu-i/Php/index.php