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
hay clay
letts start over
1st page where u ll take input into a from n post it
-
echo("
");
echo(" password
");
**
a simple form ! ! ! !
**
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
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
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
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,
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
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
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
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
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
11 matches
Mail list logo