Thanks for the reply.I need automatic extraction of cookies.The input will be the file name,the output should be the number and name of the cookies in that file.is it possible?
No, that is not possible.
You can use JS to read all the cookies visible in a given folder, if that’s what you want.
I think in PHP it would only be possible if you had an array of all names likely to be used, short of running a time-consuming brute-force search.
I have no idea what you mean by that. Please be specific.
To retrieve all cookies for the current page, you can use the “document.cookie” property to get list of key=value pairs separated by semicolon.
is that you are looking for?