[PHP] Re: Just like to know

2001-07-18 Thread Jeremy Maziarz

Jeroen,

I guess it depends on your coding style and preference. Functionally,
they do the same thing. First line is easier to read while the second
line requires more typing.

One note. This will not work (using an associative array):

?php
$somevar = array(foo=bar);
$string1 = bla bla $somevar[1] bla bla bla $somevar[foo]$somevar[1]
bla;
?

-Jeremy Maziarz
Email: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: Just like to know

2001-07-18 Thread George E. Papadakis

Hello,

I ame facing a cookies problem with with Internet Explorer
I issue the following command to set the cookie:
setcookie( $cookie_name, $cookie_value, time()+15768, /,
.mydomain.gr, 0 )

The page that sends the cookie is in an IFRAME inside the main
browser's window. The domain in the main window and the page in
the iframe is different.

IE refuses to save the cookie if the privacy level is medium
(or higher). If we set the privacy level to 'low' everything works
fine. The problem is that IE comes with privacy level set to medium
by default. Is there any way to set the cookie overiding IE's
security options?

Thanks in advance,

George Papadakis


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]