Shared sessionfile folder access rights

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Shared sessionfile folder access rights

Post by Shendemiar »

My host has shared folder for sessionfiles.

I exeprimented with and came to working conclusion:

if (fileowner($files[$key])==1066)

but i dont understand it. Whats the 1066, at my localserver it's 0

Is there a function to tell the number so wouldnt have to comment/uncomment my code each time u upload it.

Or alternatively is there a way to locate a script so it "knows" where it's located?
Post Reply