Re: <?xml version="1.0" encoding="UTF-8>
| From: | Doug Essinger-Hileman | Date: | Tue, 24 Jun 2003 13:47:20 +0000 |
| Subject: | Re: <?xml version="1.0" encoding="UTF-8> | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152607@lists.php.net to get a copy of this message | ||
On 24 Jun 2003 at 4:33, Philip Olson wrote:
> No. (btw, be sure to quote your strings). In reading
> the table found here:
Thanks. That is a mistake I make frequently. The "good" thing about
that is that if there is an error the first thing I look for is
whether I have quoted my strings. ;-}
> http://www.php.net/ini_set
>
> You will notice short_open_tag has this level:
>
> PHP_INI_SYSTEM|PHP_INI_PERDIR
>
> And according to the documentation, most namely the
> documenation found here:
>
> http://www.php.net/configuration.changes
>
> It can be set in the following (in Apache) or similar
> depending your web server:
>
> .htaccess
> php.ini
> httpd.conf
>
> Closest you have is .htaccess But, if you don't want
> to worry about it, just use echo as someone already
> suggested, instead of embedding it. Something like:
>
> echo '<?xml version="1.0" encoding="UTF-8">';
>
> Btw, the question proposed in this thread is also a
> documented FAQ here:
>
> http://www.php.net/manual/en/faq.using.php#faq.using.mixml
Thanks, again. As someone just starting to learn php, I'm also just
starting to learn where answers to my questions can be found.
Doug