On Thu, 15 Mar 2001 17:41, Andrew V. Romero wrote:
> I believe it is a *nix server.  I haven't looked into directory
> permissions before but that is an area I will definately look into.  If
> this was a problem with the directory permissions, would the problem
> still disappear if a file with the correct name was already in the
> directory?
> -Thanks
>     Andrew V. Romero
>         To reply personally, remove all numbers from address.
>         ICQ# 54080914
>

If the permissions on the file were right, I think yes.

To point out another possible problem

 $answerFile = "$questionFileName-A.txt";  Then I go along and open this
 later with $wa=fopen("$answerFile","a");

Actually the fopen attempts to create the file if it doesn't exist. But 
I'd be worried about the $ in your filename? If php tried to parse that 
as a variable you may get unexpected results? I think that $answerFile 
might contain the value '.txt' Try echoing it and see....

[I'm off home now.]

-- 
David Robley                        | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
AusEinet                            | http://auseinet.flinders.edu.au/
            Flinders University, ADELAIDE, SOUTH AUSTRALIA

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to