[thelist] site check please - http://www.stemofficial.co.uk

**1st Vamp** wes at pmason.karoo.co.uk
Wed Apr 3 10:24:01 CST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: MD5

I normally just use:
print '<?xml version 1.0?>';

Its a work around, but allows me to keep usin <? ?> for PHP
processing.
Although technically I may have to change this at some point in order
for full XML compatibiliy.

- - Vamp

Wednesday, April 03, 2002, 5:29:44 AM, Burhan Khalid wrote:

> My earlier post didn't display correctly (it parsed the html tag), so I am
> reposting.

>>>1) In the [visual] section, whenever I click on an image to see a larger
>>>version, I get an error, "Parse error: parse error in
>>>/home/sites/site64/web/sections/visual/gallery/showimage.php on line 1";
>>Yup, all fixed now, found this out today. Yesterday I was messing around
>>with it, trying to make it all xhtml compliant, put in the <?xml version
>>1.0?> tag (The one with the charset and all) and of course the parser
>>thought it was PHP and threw it up. So I took it out as the W3C
>>recommendations stated it was optional (but encouraged).
>>
>>On this note, is there anyway for this declaration and PHP to live
>>harmoniously??

> There is an option in PHP, namely :

> ; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.
> short_open_tag = On

> If you turn off the short_open_tag, then it will not parse <?xml as php. Of
> course, the other
> way around that problem is to put the following lines in your html :
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "DTD/xhtml1-transitional.dtd">
> < h t m l xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" >

> hth,
> Burhan Khalid

-----BEGIN PGP SIGNATURE-----
Version: 2.6

iQINAwUAPKssU+tR7En81eJTAQF1RQ+5AXeyBrFSNcfJhNwxC13KedLzeNyTsLJE
/W0fOvvsp7NmlRVsv4hLhsbh8GL5delPEGVO1a7VQvyInNkngmQ8QgsYiJLHfys1
0y6JPXXo1YwpDKaEeTEJrxzc3btFPopao/8hN4tA7TATHMdMjP/2d4a0H03S3UWM
wFgpXU6fS8UCniVcY4OJy2j0F7nLE70uRhAd+L28YctY0dlPf70oPcop642t5u1M
fWUAuD1P9a28vjeW17LmkswsgX3F8aPNVkUV/XQ/V5TUrxNcfyZAgoSWQEt8ndz0
laWh3UeuPrppYcqzoBS++LnsJpHmIG+xFwTui0JBnPR3z4Y8UwAqy938/APEXsMx
Aw/UVQ0i4azLkzVBtkXyJdEzYcym8AE5ibVFuh2DIf8iXI/HEvlM0X9nSSJT9IOU
VeA93pH+gIU7aYVK2t5WEhWsvh71dYukkh3UVMG5sS36FyKTYad/JA2xC02Dvho0
MU9HUqBJeyqzuN0XuQKNUc5kAn7AiEm/nG8NEeMlDbuIP5PbvOfruEGFQpmeeAf3
rkNmyg1OO3oCNo9Usg0hO0zfY8cS9ESEIQUNYy9xVRJlJsqa7ZXUvuxfIi9j1h+5
zPkIIEiGza6+1xj2HURHEjv/BAOxyPyJB3Ky1zyhvU7OvsPyrQsmA+e5tZir2QqS
=oTnk
-----END PGP SIGNATURE-----




More information about the thelist mailing list