I want to ask if the proper function of the setcookie() could be influenced by mod_rewrite or translation IP address via /etc/hosts/ on the local machine.
I have web server where the address is translated via mod_rewrite. I use an alias of an IP address on my computer.
And now - the strange thing. The upper code doesn't work and the code bellow does.
Code: Select all
set_cookie('name','value',$proper_path,$proper_domain,false);Code: Select all
set_cookie('name','value',null,null,false);Thanks!