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

Popular posts from this blog

elasticsearch - what is the equivalent data type for geo_point in hibernate search? -

firebase - How to wait value in Ionic 2 -

Jenkins: find build number for git commit -