[PHP] Re: Setting cookies for other domains

2005-03-19 Thread Raj Shekhar
Scott Haneda [EMAIL PROTECTED] writes: Cross domain cookies are indeed possible, look at microsoft.com, msn.com and msnbc.com which indeed do share your cookies from one site to the next, however, they do it by redirects and get/post methods, which is perfectly legit since they control those

[PHP] Re: Setting Cookies in netscape and explorer?

2002-06-21 Thread Kondwani Spike Mkandawire
Martin Johansson [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi! Cookies makes me go AGHH!! Please help me with this: I am setting a cookie like this in my loginscript: setcookie(devProcCookie, cookie value.|.time(), 31536000); // Set cookie

[PHP] Re: Setting Cookies in netscape and explorer?

2002-06-21 Thread Kondwani Spike Mkandawire
As opposed to using the Cookies Array HTTP_COOKIES_VAR could you not just use explode the $devProcCookie using if (isset($devProcCookie)){ $tok = explode(|, $devProcCookie); } //Note this will only work if the global variables in your php.ini files are turned on... I have no idea why it can't

[PHP] Re: Setting Cookies in netscape and explorer?

2002-06-21 Thread Martin Johansson
I tried your stuff but it didnt help me! Still works in explorer but when I tried it in netscape It says ERROR!!! in netscape if (isset($devProcTailorCookie)) { $tok = explode(|, $devProcTailorCookie); } else { echo ERRROR!!!; } I have global_variables turned on in my php.ini /Martin

[PHP] Re: Setting Cookies in netscape and explorer?

2002-06-21 Thread Martin Johansson
Another thing! when I look in netscape/preferences/privacysecurity/cookies/view Stored Cookies.. there is no cookie for my website.. isnt that strange? /Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Setting Cookies in netscape and explorer?

2002-06-21 Thread Martin Johansson
Yes!!! I got it to work! The problem was the expirationdate in the cookie: setcookie(devProcTailorCookie, cookie value.|.time(), 31536000); Now I set it like this: setcookie(devProcTailorCookie, cookie value.|.time(), time()+10); But now it doesnt work in explorer. But I would be able to

[PHP] Re: Setting Cookies

2002-06-10 Thread Craig Donnelly
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.cooki es Use Superglobals...you will see what I mean. Also, Apache 2.0 is not recommended as of yet for PHP commercial development http://www.apacheweek.com/issues/02-06-07 Regards, Craig Scott 'Intense!' Reismanis [EMAIL

[PHP] Re: Setting Cookies

2001-12-10 Thread Jeremy Reed
You are getting that error because you have sent output to the browser BEFORE you try to set the cookie information. When dealing with cookies, it is important to do all processing before sending any output to the browser. Jeremy Reed Steve Osborne [EMAIL PROTECTED] wrote in message