I cannot seem to be able to figure out why I receive:
Fatal error: Can’t use function return value in write context in [path]/admincp/global.php(226) : eval()’d code on line 12
when I try to use fopen/fsockopen, and such functions to retrieve remote data.
My code is:
I have tried using fopen/fread, and fsockopen/fgets. I don’t even know where to start to debug this.
I would appreciate any help given, thank you!
empty() can only evaluate variables – not function return values. Your first conditional is using
empty(ini_get(...))Try: