Cookies Directory DIR -
$cookies = __dir__."\cookies.txt"; $cookies = __dir__."/cookies.txt"; c:\xampp\htdocs\tokenrestcurlsession why cookies stored $cookies = dir."/cookies.txt"; forward slash , not backward slash rest of directory location (c:\xampp\htdocs\curlsession) ?
when use realpath function "echo realpath("cookies.txt");" of cookies.txt getting (c:\xampp\htdocs\curlsession\cookies.txt). wondering possible use either / or \ when working dir ?
wiki
Comments
Post a Comment