I had a similar problem Perling once. The server sometimes has default CHMOD settings. 
I suspect the default is "rw--". You may have to CHMOD your file in your script 
yourself to overcome this.

>the file permissions are "rw-r-r"

Are you sure :) Use your command line and check the CHMOD.

I cannot reach http://192.168.0.1/bdoi_change/sundar.html myself. My money is on: 
"rw--"

Diksha Neel wrote:

> hi all,
>
> $fp = fopen("\bdoi_change\sundar.html", "w");
>
> i am able to write to this file through my php page
> filecheck.php and even am able to read the written contents.
>
> but when i enter http://192.168.0.1/bdoi_change/sundar.html
> in my internet explorer address bar, it says the page cannot
> be displayed.
> the file permissions are "rw-r-r"
>
> thanks in advance,
>
> regards,
> diksha.

--
John Taylor-Johnston
-----------------------------------------------------------------------------
"If it's not open-source, it's Murphy's Law."

  ' ' '   Collège de Sherbrooke:
 ô¿ô   http://www.collegesherbrooke.qc.ca/languesmodernes/
   -     Université de Sherbrooke:
          http://compcanlit.ca/
          819-569-2064



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to