Hello.
I have a problem with the fopen function. I write the follow:
$fp = fopen("filename", "r"
or
$fp = fopen(" "r"
In the first case, the return value is null or false. In the second case apparently too is null or false.
However the display messages in both cases respectively:
Warning: fopen("filename","r" - No such file or directory in ...
Warning: fopen(" - Success in ...
In the second case apparently the file was open successful, but try use it, $fp is null or false.
Thansk.
I have a problem with the fopen function. I write the follow:
$fp = fopen("filename", "r"
or
$fp = fopen(" "r"
In the first case, the return value is null or false. In the second case apparently too is null or false.
However the display messages in both cases respectively:
Warning: fopen("filename","r" - No such file or directory in ...
Warning: fopen(" - Success in ...
In the second case apparently the file was open successful, but try use it, $fp is null or false.
Thansk.