Version: Snoopy 1.2.3
Function: _httpsrequest(...)
There's a line:
$headerfile = tempnam($temp_dir, "sno");
However, the $temp_dir is an instance variable which can be specified by the user so it should be accessed instead, i.e.:
$headerfile = tempnam($this->temp_dir, "sno");
Logged In: YES
user_id=1846759
Originator: YES
This is a duplicate of bug 1715080.
but it is solved here!
i suggest to use sys_get_temp_dir() instead:
#$temp_dir=$this->temp_dir
$temp_dir=sys_get_temp_dir();
if(!is_writable($temp_dir)) echo "<br>please chmod +w '$temp_dir' for www-data<br><br>";
$headerfile = tempnam($temp_dir, "sno");