ID: 39402 User updated by: pradeep_elixir at yahoo dot com Reported By: pradeep_elixir at yahoo dot com -Status: Bogus +Status: Closed Bug Type: *General Issues Operating System: LINUX PHP Version: 4.4.4 New Comment:
It is not related with php rather it is an issue of some privecy policies related to the browser. Previous Comments: ------------------------------------------------------------------------ [2006-11-07 14:13:19] [EMAIL PROTECTED] This is a browser issue, not a bug in PHP. ------------------------------------------------------------------------ [2006-11-06 15:29:25] pradeep_elixir at yahoo dot com Description: ------------ I tried to access cookie from a php file using javascript tag: <script language="javascript" > source = "http://mysite.com/accesscookie.php" document.write('\<\script language="javascript" src="' + source +'"\>\<\/SCRIPT\>'); </script> The php script could not read the cookie stored for the damain mysite.com Browser is Internet explorer 6.0 When I tred the same url directly in the browser it was able to read the cookie. The problem i am facing for the Internet explorer while it is working fine in Mozila Firefox 1.5.0.7 Reproduce code: --------------- I tried to access cookie from a php file using javascript tag: <script language="javascript" > source = "http://mysite.com/accesscookie.php" document.write('\<\script language="javascript" src="' + source +'"\>\<\/SCRIPT\>'); </script> The php script could not read the cookie stored for the damain mysite.com Browser is Internet explorer 6.0 When I tred the same url directly in the browser it was able to read the cookie. The problem i am facing for the Internet explorer while it is working fine in Mozila Firefox 1.5.0.7 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39402&edit=1