Disabling fopen("/etc/passwd","r");

Hello,

I were seeing c99.php source code to know how it gets /etc/passwd file. it simply uses fopen() for this goal but I think fopen() is needed and I don't like it to be disabled in disabled_functions. I wonder how can I disable just fopen("/etc/passwd","r"); without doing any restriction to fopen function at all

any idea will be appreciated

Best Regards.

 

 

 

 

Top