echo $cookie[4];
Result:
#HttpOnly_bacohuracm FALSE / TRUE 0 PHPSESSID 3A8DB8BE067954EE327A56F7F8D8B19C
i wanna delete this part:
#HttpOnly_bacohuracm FALSE / TRUE 0 PHPSESSID
and wanna get only this part:
3A8DB8BE067954EE327A56F7F8D8B19C
i tried preg_match, it has given a null result. i tried some other ways, and gotten same null result and still couldn't figure out how i can do this job with php.. please give me some advice