php include... security risk?
How can i avoid users to view other users files using the "include" tag of php?Does php_safemode do this? What are the disadvantages of turning safemode on?
Is there another workaround to prevent this? Because this is a security risk. Any user can access other files even if they are owned by other user/group and chmoded to just read access by the owner. Also i have found that many php programs will not work with php safemode on, is this true?
I think the same thing could be posible with perl.
Regards