php+cookies problem
Posted: Wed May 07, 2003 2:30 am
Hello,
I have such a problem:
im trying to set cookie using php script:
setcookie($x, $y, time() + 3600, "/" );
everything works fine, if I adress this script via explorer, typing web servers IP address.
But if I use domain redirect (for example http://something.tk), cookie does not set.
Where is the problem, and is there any wai to sove it?
I have such a problem:
im trying to set cookie using php script:
setcookie($x, $y, time() + 3600, "/" );
everything works fine, if I adress this script via explorer, typing web servers IP address.
But if I use domain redirect (for example http://something.tk), cookie does not set.
Where is the problem, and is there any wai to sove it?