javascript - How to get all cookies of whole site -
like
my site : www.abc.com www.abc.com/page1.php www.abc.com/page2.php www.abc.com/page3.php www.abc.com/page4.php www.abc.com/page5.php ....
i want cookies data of pages executing single page. here want execute pages in single page ie getcookies.php , wants information of cookies in page cookies creating , how many cookies creating , cookie names etc
www.abc.com/getcookies.php
$_cookie
array.
so, use following line:
print_r($_cookie);
also can print in getcookies.php
$cookie = $_cookie; foreach($cookie $key=>$value) { echo "$key = $value"; }
Comments
Post a Comment