file_put_contents not wirkingon a particular server

Hi! I am getting problem while writing to xml file using " file_put_contents " . My Php version is 5.2.9-2.

though the code is running well in my local server and the other testing server.

Need Helppppp…

Thanx in advance

Did you set writing permission for the directory where you’re creating/modifying your xml file?

Ya I’ve changed the file permission to 777.

Hi DS,

First of all, you need to make sure you have the privilege to write over the folder where you wish to store your xml file. I am suspecting file permission setting is not properly set.

Regards

The same files are working on another linux server. And its a windows server where php is newly installed.

Alright, can post your code here?

Sponsor our Newsletter | Privacy Policy | Terms of Service