[PHP-WIN] Cookie Problems on Localhost

2005-02-23 Thread Joseph L. Mueller
I am testing some PHP code (example 15.5 from Sams Teach Yourself PHP MySQL, PHP and Apache in 24 Hours). I am running running PHP 5.0.3 and Apache 2.0.43 on my WinXp Home system. My problem is I cannot seem to set a cookie. I tried using "localhost" and "127.0.0.1" for the domain parameter, bu

Re: [PHP-WIN] Cookie problem

2002-11-03 Thread toby z
hay clay letts start over 1st page where u ll take input into a from n post it - echo(" "); echo(" password "); ** a simple form ! ! ! ! **

[PHP-WIN] Cookie problem

2002-11-02 Thread Clay Culver
Hi, I am having a problem trying to set a cookie with the register_globals variable turned OFF. I have a script that just checks a password in a MySQL database through a form, if the password is the same in the db then the cookie is set and access is allowed to any page that has the other p

[PHP-WIN] cookie problems...

2002-09-04 Thread Nicholas Stuart
Hello all, I seem to be having problems with getting cookies to set correctly. I use the following code: ___ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-s

[PHP-WIN] cookie problem

2002-06-05 Thread Cassiano Dal Pizzol
guys i have a cookie problem   i´m developing a site who uses cookies to count the visits and to access the database, all works fine in almost every browser i test... all but one!!! this one don´t accept the cookie i pass to it, by the way he doesn´t even register the cookie!!! in all other br

[PHP-WIN] Cookie Problems with IIS 4 and not with IIS 5.1

2002-01-06 Thread Kevin
I have the same code on 2 systems, NT4 Server with IIS 4 and XP IIS 5.1 the cookies work ok on IIS 5.1 and not IIS 4. It's the same PHP.INI file on both systems and the same version of PHP. Does and know how to fix it? Kevin -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe,

[PHP-WIN] Cookie Can't Display Name on other page

2001-12-21 Thread Jack
Dear all Here is the Code for my Login.php page Execute($KT_rsUser_Source) or DIE($Mysql_nedcorhk->ErrorMsg()); if ($KT_rsUser->RecordCount()==1) { // username and password match - this is a valid user $KT_Username=$KT_valUsername; session_register("KT_Username"); if ($KT_fldUse

RE: [PHP-WIN] Cookie

2001-12-05 Thread Svensson, B.A.T. (HKG)
From: Robin Bolton >Unfortunately 'it doesn't work' isn't quite enough >information for us to go on. Why not? Have you lost your crystal ball again Robin? I told you to keep it safe! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

RE: [PHP-WIN] Cookie

2001-12-04 Thread Robin Bolton
nt: December 4, 2001 21:43 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Cookie > > could someone help me? > > i want to set a cookie but it don't work. what is wrong with this code? > >setCookie($Cookiename, "1", time()+86400); > > and

[PHP-WIN] Cookie

2001-12-04 Thread Karl S. Løland
could someone help me? i want to set a cookie but it don't work. what is wrong with this code? setCookie($Cookiename, "1", time()+86400); and could someone help me with it and tell me how i set a cookie? (if this code is totaly wrong) -- PHP Windows Mailing List (http://www.php.net/) To

[PHP-WIN] Cookie-Problem ;)

2001-02-03 Thread Andreas Lange
this is no general Problem with Cookies but a big mess: i use cookies to store a session-id, so here is the Problem: The InternetExplorer stores seperate Cookies for every directory on the webserver, where cookies are used. Is it possible to store only one cookie for the whole site, including al