ramu_rp2005 Posted March 17, 2006 Share Posted March 17, 2006 hi guys, i've a function:[code]if ( isset ($LocationID) ) { ob_start(); setcookie("HostLocationID",$LocationID); ob_end_flush(); //echo "===$LocationID===="; }[/code]Now, wht does this setcookie function do over here.does it pass any value to another form. Quote Link to comment https://forums.phpfreaks.com/topic/5137-what-does-setcookie-do-in-my-function/ Share on other sites More sharing options...
shortj75 Posted March 17, 2006 Share Posted March 17, 2006 no it drops a cookie in your visitors cookie file in the home computer Quote Link to comment https://forums.phpfreaks.com/topic/5137-what-does-setcookie-do-in-my-function/#findComment-18252 Share on other sites More sharing options...
ramu_rp2005 Posted March 17, 2006 Author Share Posted March 17, 2006 ok.where will that visitors cookie file be stored.the location id used here is not assigned any value.this is my first form of the web page,so from where the $locationid value come from. Quote Link to comment https://forums.phpfreaks.com/topic/5137-what-does-setcookie-do-in-my-function/#findComment-18253 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.