Date: 05/02/00
- Next message: Preeti: "[PHP-DEV] PHP with C"
- Previous message: gverron <email protected>: "[PHP-DEV] Bug #4291: Unable to load dynamic library 'c:\PHP3/php3_mysql.dll'"
- In reply to: hrothgar <email protected>: "[PHP-DEV] PHP 4.0 Bug #4288: parse error when trying to use <?xml ... ?> declaration"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>> >>>test.php
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
>> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
>> <head>foo</head>
>> <body>bar</body>
>> </html>
>> <<<test.php
>>
>> I get the following parse error when trying to view this:
>>
>> Parse error: parse error in /home/httpd/html/test.php on line 1
You probably have "short tags" option on. Turn it off and use <?php for
PHP tags.
-- Stanislav Malyshev stas <email protected> +972-3-6139665-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Preeti: "[PHP-DEV] PHP with C"
- Previous message: gverron <email protected>: "[PHP-DEV] Bug #4291: Unable to load dynamic library 'c:\PHP3/php3_mysql.dll'"
- In reply to: hrothgar <email protected>: "[PHP-DEV] PHP 4.0 Bug #4288: parse error when trying to use <?xml ... ?> declaration"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

