Jump to content

Recommended Posts

Posted

Hi All,

 

need some help here.

I am running a program that should write (using fopen) to a folder within the server (located at public_html).

I m doing this bec. an external website will be accessing the generated file.

 

After reading the posts here and setting the folder to 777 permission and file to 666 permission (even to 777), I m still getting the permission denied error.

 

Am I still missing something?

 

Thanks.

appreciate any help.

Posted

hi All,

 

after changing the directory access from "\" to "/", it managed to run in the server.

 

i m not sure why, but without doing the above changes the program works in my local computer.

 

now, i need to work on the security.

 

thanks.

Posted

Welcome to the forums orion :)

 

Most likely your local computer is running Windows. The servers here are running Linux. Path delimiters on all versions of *nix use the forward slash "/" while all Windows variants use a backslash "\".

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...