Hi, I've been working on this on website for a bit, but theres a problem when I attempt to open a file to append info on it(in PHP). Here's the pseudo code, where i believe the problem is:
Code:
if (!($logging = fopen('./cgi-bin/current.txt', 'a')))
{
$state = 0;
$error = '2Unable to open the input file.';
}
yet, if I use this for opening just to read and it works fine:
Code:
if (!($current = fopen('./cgi-bin/users.txt', 'r')))
{
$state = 0;
$error = '1Unable to open the input file.';
}
if anyone sees something that I'm missing or knows of any problem like this please reply
-- Ayron