[PHP] include XHTML document

2001-09-24 Thread cweiske

Hi

I wrote my new page in XHTML 1.0, split it and wanted to include the top
part of the file with the include( page_top.htm).
The problem is, that the valid XHTML document has to begin with
?xml version=1.0 encoding=iso-8859-1?

The problem now is, that ? is interpreted as a begin of php commands.
I for myself use ?php when starting commands, but the compiler also use ?.

Is there a way to work around?
I by myself would appreciate if php commands would always start with ?php
and the ? would be irgnored in future.


Christian Weiske

 Christian Weiske, RealDreams
 [EMAIL PROTECTED]
   www.cweiske.de

Always forgetting birthdays? Try RealDreams birthday reminder!
http://www.cweiske.de/index.php3?goto=birthday



-- 
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]




[PHP] An Email RE: [PHP] include XHTML document has been trapped

2001-09-24 Thread MAILsweeper

The email RE: [PHP] include XHTML document from [EMAIL PROTECTED] to 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
 contained script similar to known Worm viruses.

As a precaution this has been held in quarantine. The message will be held for up to 
20 days, for further checking.

Please notify the sender that you have not received their email.

An automated message to the sender will also have been delivered.

If you believe that this message has been blocked in error, please forward this 
message to: [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] include XHTML document

2001-09-24 Thread Tim

On Mon, 2001-09-24 at 08:04, cweiske wrote:
 I wrote my new page in XHTML 1.0, split it and wanted to include the top
 part of the file with the include( page_top.htm).
 The problem is, that the valid XHTML document has to begin with
 ?xml version=1.0 encoding=iso-8859-1?
 
 The problem now is, that ? is interpreted as a begin of php commands.
 I for myself use ?php when starting commands, but the compiler also use ?.

Look in the manual sections on php.ini and the short_tags feature.  That
option controls the interpretation of the ? tag.

- Tim


-- 
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]