Re: [PHP-DB] echo printing a cookie

2002-10-15 Thread Jeffrey_N_Dyke


I belive $_cookie is different then $_COOKIE

Jeff



   

Steve Dodkins  

Steve.Dodkins@ebm-zi   To: Php-Db (E-mail) 
[EMAIL PROTECTED]   
ehl.co.uk  cc:

Subject: [PHP-DB] echo printing a 
cookie   
10/15/2002 09:21 AM

   

   





Hi I'm trying to print the contents of a cookie (php 4.2.3) the syntax
below
is wrong but what should it be?

if ($_cookie[cookiename]== TRUE) {
echopyour cookie is $_COOKIE[cookiename]/p;
}



Regards

Steve Dodkins

IMPORTANT NOTICE The information in this e-mail is confidential and should
only be read by those persons to whom it is addressed and is not intended
to
be relied upon by any person without subsequent written confirmation of its
contents. ebm-ZIEHL (UK) Ltd. cannot accept any responsibility for the
accuracy or completeness of this message as it has been transmitted over a
public network.   Furthermore, the content of this e-mail is the personal
view of the sender and does not represent the advice, views or opinion of
our company. Accordingly, our company disclaim all responsibility and
accept
no liability (including in negligence) for the consequences of any person
acting, or refraining from acting, on such information prior to the receipt
by those persons of subsequent written confirmation. In particular (but not
by way of limitation) our company disclaims all responsibility and accepts
no liability for any e-mails which are defamatory, offensive, racist or in
any other way are in breach of any third party's rights, including breach
of
confidence, privacy or other rights. If you have received this e-mail
message in error, please notify me immediately by telephone. Please also
destroy and delete the message from your computer. Any form of
reproduction,
dissemination, copying, disclosure, modification, distribution and/or
publication of this e-mail message is strictly prohibited.  If you have
received this E-mail in error, or suspect that the message may have been
intercepted or amended, please notify ebm-ZIEHL (UK) Ltd on +44(0)1245
468555.
ebm-ZIEHL (UK) Ltd Chelmsford Business Park, Chelmsford, Essex CM2 5EZ




--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-DB] echo printing a cookie

2002-10-15 Thread Simon Taylor

Here ya go..

if ($_cookie[cookiename]) {
echopyour cookie is.$_COOKIE['cookiename']./p;
}

Cheers
Simon

-Original Message-
From: Steve Dodkins [mailto:[EMAIL PROTECTED]] 
Sent: 15 October 2002 15:22
To: Php-Db (E-mail)
Subject: [PHP-DB] echo printing a cookie


Hi I'm trying to print the contents of a cookie (php 4.2.3) the syntax below
is wrong but what should it be?

if ($_cookie[cookiename]== TRUE) {
echopyour cookie is $_COOKIE[cookiename]/p;
}



Regards

Steve Dodkins

IMPORTANT NOTICE The information in this e-mail is confidential and should
only be read by those persons to whom it is addressed and is not intended to
be relied upon by any person without subsequent written confirmation of its
contents. ebm-ZIEHL (UK) Ltd. cannot accept any responsibility for the
accuracy or completeness of this message as it has been transmitted over a
public network.   Furthermore, the content of this e-mail is the personal
view of the sender and does not represent the advice, views or opinion of
our company. Accordingly, our company disclaim all responsibility and accept
no liability (including in negligence) for the consequences of any person
acting, or refraining from acting, on such information prior to the receipt
by those persons of subsequent written confirmation. In particular (but not
by way of limitation) our company disclaims all responsibility and accepts
no liability for any e-mails which are defamatory, offensive, racist or in
any other way are in breach of any third party's rights, including breach of
confidence, privacy or other rights. If you have received this e-mail
message in error, please notify me immediately by telephone. Please also
destroy and delete the message from your computer. Any form of reproduction,
dissemination, copying, disclosure, modification, distribution and/or
publication of this e-mail message is strictly prohibited.  If you have
received this E-mail in error, or suspect that the message may have been
intercepted or amended, please notify ebm-ZIEHL (UK) Ltd on +44(0)1245
468555. ebm-ZIEHL (UK) Ltd Chelmsford Business Park, Chelmsford, Essex CM2
5EZ




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-DB] echo printing a cookie

2002-10-15 Thread Aaron Wolski


If (isset($_COOKIE[cookiename]) {

echo 'Your cookie is: '.$_COOKIE[cookiename].' br';

}
-Original Message-
From: Steve Dodkins [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, October 15, 2002 9:22 AM
To: Php-Db (E-mail)
Subject: [PHP-DB] echo printing a cookie


Hi I'm trying to print the contents of a cookie (php 4.2.3) the syntax
below is wrong but what should it be?

if ($_cookie[cookiename]== TRUE) {
echopyour cookie is $_COOKIE[cookiename]/p;
}



Regards

Steve Dodkins

IMPORTANT NOTICE The information in this e-mail is confidential and
should only be read by those persons to whom it is addressed and is not
intended to be relied upon by any person without subsequent written
confirmation of its contents. ebm-ZIEHL (UK) Ltd. cannot accept any
responsibility for the accuracy or completeness of this message as it
has been transmitted over a
public network.   Furthermore, the content of this e-mail is the
personal
view of the sender and does not represent the advice, views or opinion
of our company. Accordingly, our company disclaim all responsibility and
accept no liability (including in negligence) for the consequences of
any person acting, or refraining from acting, on such information prior
to the receipt by those persons of subsequent written confirmation. In
particular (but not by way of limitation) our company disclaims all
responsibility and accepts no liability for any e-mails which are
defamatory, offensive, racist or in any other way are in breach of any
third party's rights, including breach of confidence, privacy or other
rights. If you have received this e-mail message in error, please notify
me immediately by telephone. Please also destroy and delete the message
from your computer. Any form of reproduction, dissemination, copying,
disclosure, modification, distribution and/or publication of this e-mail
message is strictly prohibited.  If you have received this E-mail in
error, or suspect that the message may have been intercepted or amended,
please notify ebm-ZIEHL (UK) Ltd on +44(0)1245 468555. ebm-ZIEHL (UK)
Ltd Chelmsford Business Park, Chelmsford, Essex CM2 5EZ




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-DB] echo printing a cookie

2002-10-15 Thread Ford, Mike [LSS]

 -Original Message-
 From: Steve Dodkins [mailto:[EMAIL PROTECTED]]
 Sent: 15 October 2002 14:22
 To: Php-Db (E-mail)
 
 Hi I'm trying to print the contents of a cookie (php 4.2.3) 
 the syntax below
 is wrong but what should it be?
 
 if ($_cookie[cookiename]== TRUE) {
 echopyour cookie is $_COOKIE[cookiename]/p;
 }

  if (isset($_COOKIE['cookiename'])) {
echo pyour cookie is {$_COOKIE['cookiename']}/p;
  }

Cheers!

Mike

-
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning  Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730  Fax:  +44 113 283 3211 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php