|
Posted by AnrDaemon on 01/25/08 06:31
Greetings, faraz_mit.
In reply to Your message dated Thursday, January 24, 2008, 13:54:42,
In addition to the Erwin's post,
> $handle = fopen($file, "r");
> if(!($handle = fopen($file, 'r'))) echo "File failed to open";
Why You trying to open the file twice?
> Can somebody tell me please what is wrong with the way i call fopen.
> I am running on a shared server and also tried different permissions
> such as r and rb.
"r" and "rb" is not a permissions, but opening modes. "b" suffix telling PHP
to read file in binary mode.
--
Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru>
Navigation:
[Reply to this message]
|