Your server httpd is running as a different user then the user who is owning the files from the /home/xyz/pttx/boffice/. Please check the user as which the apache is running (ps aux|grep httpd) and the user who own the files Another reason could be that the apache user has no rights to write in the directory /home/xyz/pttx/boffice/. You should do
chown apacheuser.apacheuser /home/xyz/pttx/boffice/ chmod 777 /home/xyz/pttx/boffice/ -- ------------------------------------------------- Cristian MARIN - Developer InterAKT Online (www.interakt.ro) Tel: +4021 312.53.12 Tel/Fax: +4021 312.51.91 [EMAIL PROTECTED] "Narayanak" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > hi all, > I received the following error message when i want to create a .csv file in > the web server, in my local server the file is created without any problem > and its working nice the same is not working at production server, why this > happens and suggest the solution > Warning: fopen(Applicant.csv): failed to open stream: Permission denied in > /home/xyz/pttx/boffice/individual.php on line 93 > > Regards > Narayana > > [EMAIL PROTECTED] > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php