Jump to content

KCSJ

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by KCSJ

  1. Hi, Here is my problem and I need you guys' help if you can. Appreciate it. I have a script that I need to write to a file under /home/my_user_name/public_html/dir1/file1. I use fopen($file_path, "a") and I would get the following error if I make that file permission as 755: [function.fopen]: failed to create stream: Permission denied in ... So I think it's because Apache doesn't have the permission to write under that directory. I am wondering is there any way (such as using .htaccess) to make fopen work and I still can set the file permission as 755? Please help. Thank you very much.
×
×
  • Create New...