2 Bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction)
4 <?php if (!extension_loaded("curl")) print "skip";
5 if(substr(PHP_OS, 0, 3) != 'WIN' )
6 die("skip Not Valid for Linux");
13 var_dump(curl_setopt($ch, CURLOPT_COOKIEFILE, ""));
14 var_dump(curl_setopt($ch, CURLOPT_COOKIEFILE, "c:/tmp/foo"));
15 var_dump(curl_setopt($ch, CURLOPT_COOKIEFILE, "c:/xxx/bar"));
22 Warning: curl_setopt(): open_basedir restriction in effect. File(c:/xxx/bar) is not within the allowed path(s): (c:/tmp) in %sbug61948-win32.php on line %d