I am using fopen and fwrite to create a .xls/.txt file which works on my localhost computer, when uploaded on my server (using FTP) the server doesn't allow me to create the file on it (permission denied) is there any other way to do this? I have tried to create a tmp file and also trying to create a file and then upload it. Uploading files using ftp_put does work.
Please help???
Did you set the owner and chmodded the file? If you right click on the file in the ftp client, there are usually some way to set it.
A php-edited file (on Apache ws) must be owned by ower/group nobody/nobody, and should be chmodded 755.
knutm :-)