Re: [PHP] Question Regarding Cookies, Sent Headers, and Functions That Return Values

2002-12-11 Thread KANM MD
University - Original Message - From: Rick Emery [EMAIL PROTECTED] To: KANM MD [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, December 10, 2002 10:39 PM Subject: Re: [PHP] Question Regarding Cookies, Sent Headers, and Functions That Return Values Hey Aggie, Show us the rst

RE: [PHP] Question Regarding Cookies, Sent Headers, and Functions That Return Values

2002-12-11 Thread Ford, Mike [LSS]
-Original Message- From: KANM MD [mailto:[EMAIL PROTECTED]] Sent: 11 December 2002 08:55 Here is the code in a readable form (alterations for security, simplicity ...) if ((stristr($HTTP_SERVER_VARS[remote_address],XXX.YYY.ZZZ))| |($pwprotect== 'password')) {

Re: [PHP] Question Regarding Cookies, Sent Headers, and Functions That Return Values

2002-12-11 Thread Rick Emery
PROTECTED] To: Rick Emery [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, December 11, 2002 2:54 AM Subject: Re: [PHP] Question Regarding Cookies, Sent Headers, and Functions That Return Values Here is the code in a readable form (alterations for security, simplicity ...) if ((stristr

[PHP] Question Regarding Cookies, Sent Headers, and Functions That Return Values

2002-12-10 Thread KANM MD
Here's my question: I'm running code that essentially checks for either a certain IP address or a password before it sends a cookie. However, when I try to send the cookie, I get the standard Error - headers already sent when I haven't output anything. After some spot debugging, I found that

Re: [PHP] Question Regarding Cookies, Sent Headers, and Functions That Return Values

2002-12-10 Thread Rick Emery
Cookies, Sent Headers, and Functions That Return Values Here's my question: I'm running code that essentially checks for either a certain IP address or a password before it sends a cookie. However, when I try to send the cookie, I get the standard Error - headers already sent when I haven't