The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
why is this in the login file? ini_set("allow_url_fopen", 1); - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28)
+--- Forum: Modifications and Hackery (https://userspice.com/forums/forumdisplay.php?fid=29)
+--- Thread: why is this in the login file? ini_set("allow_url_fopen", 1); (/showthread.php?tid=430)



why is this in the login file? ini_set("allow_url_fopen", 1); - emanresu - 01-18-2017

I was wondering why this was in the login file "ini_set("allow_url_fopen", 1);"

the line is found at the beginning of login.php in 4.1.

I've commented it out, and everything still seems to be working fine.

I've read that using this is a potential security risk. But I'm not sure why this is included in the login file, so that's why I'm asking.