orion Posted September 29, 2008 Posted September 29, 2008 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. Quote
orion Posted September 29, 2008 Author Posted September 29, 2008 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. Quote
TCH-Bruce Posted September 29, 2008 Posted September 29, 2008 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 "\". Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.