Issue
I have the line
$input = fopen( "php://input", "r" );
in a php script and I can't figure out why it is returning 0. It is only doing so on my local MAMP set up. I think it is a permission issue but I am not sure what permissions I need to modify.
Solution
in some server for security reason allow_url_fopen set 0 in php.ini . search for this string allow_url_fopen and set it to 1 and restart apache service
Answered By - Yuseferi
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.