>setcookie("cookiename1","$domin","timeset()+1800");
You're being "quote" "happy" and using "way" too "many" "quotes" "" "" :-)
$domin is a variable. You don't need to use "$domin"
It won't "hurt" anything, since you're just forcing PHP to build *another*
string with the same exact content in
email me if you dont understand something about my question. I read it back
to myself, and it all sounds so complicated!
TIA
"Georgie Casey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Rite, a user logs in at http://localhost/employers/login.php and PHP set
> $pav='nustatymai.php';
> if ( $nustatymaslangas == 1 ) {
> setcookie("nustlangas", 1, time()+3600*24*30);
> } else {
> setcookie("nustlangas", 0, time()+3600*24*30);
> }
> if ( $nustatymaspas
3 matches
Mail list logo