file_get_contents() function in PHP is not working
In my PHP code, I used file_get_contents() function for a long time and it used to work without any problem. But it stopped working recently. I'm wondering why this function has stopped working on my hosting recently?
Hi I am also getting this error please check this image.
Sometime it works but don't know why its not working
Hello Abdul,
Apologies for the error you're getting. When I took a look at your error message, it is saying something else that doesn't appear to be related to the PHP function you're specifying. Your error message is stating:
illegal length modifier specified "f" in s[np]printf call
As per our previous reply, make sure to have PHP error logging enabled. The logged error will give you a better clue related to the issue. If you can provide us a copy of that log, then we can look into it further.
If you have any further questions or comments, please let us know.
Kindest Regards,
Arnel C.