You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 4, 2021. It is now read-only.
Function function _make_curl_handle($query, $timeout=null) calls function
flush();
This function modifies headers.
And then it is not possible to modify headers (redirect pages etc) in main php code that uses Yubico library.
After validzteing the password I get PHP Warning: Cannot modify header information - headers already sent in /home/benjaminas/new.velsiga.lt/htdocs/login.php on line .
I have traced the problem and that was fush() function.
After commenting this function everything works fine. Authentications works fine and I'm able to modify headers in my main program.
Why does this function needs to flush all the buffer before calling curl?
The text was updated successfully, but these errors were encountered:
Function function _make_curl_handle($query, $timeout=null) calls function
flush();
This function modifies headers.
And then it is not possible to modify headers (redirect pages etc) in main php code that uses Yubico library.
After validzteing the password I get PHP Warning: Cannot modify header information - headers already sent in /home/benjaminas/new.velsiga.lt/htdocs/login.php on line .
I have traced the problem and that was fush() function.
After commenting this function everything works fine. Authentications works fine and I'm able to modify headers in my main program.
Why does this function needs to flush all the buffer before calling curl?
The text was updated successfully, but these errors were encountered: