Re: [PHP] PHP fopen function

2003-11-14 Thread Sushmita Roy
ather wierd and that too could be effecting your script. Sushmita Roy wrote: Yes, I am calling the fopen with two parameters. The filename is also a string. The problem is when I pass a string variable the fopen fails but succeeds when I pass a constant string. Raditha Dissanayake wrote: Hi,

Re: [PHP] PHP fopen function

2003-11-14 Thread Sushmita Roy
check your register_globals settings. Sushmita Roy wrote: Hi, I am developing a web application using PHP and I am facing a funny kind of problem with the PHP fopen function. I have a webscript, which has a function in which a file has to be opened in the directory of the webserver. The function

[PHP] PHP fopen function

2003-11-14 Thread Sushmita Roy
Hi, I am developing a web application using PHP and I am facing a funny kind of problem with the PHP fopen function. I have a webscript, which has a function in which a file has to be opened in the directory of the webserver. The function takes the file path as a parameter. The fopen function fail