|----- Original Message -----
|From: "Kyle Babich" <[EMAIL PROTECTED]>
|To: "PHP-General" <[EMAIL PROTECTED]>
|Sent: Tuesday, July 01, 2003 3:38 PM
|Subject: [PHP] .inc.php
|
|
|> When .inc.php files are included they are also executed whenever the
|> script is executed right?
|> --
|> Kyle
|>

On Jul 1, 2003, "Suhas Pharkute" claimed that:

|it not because of extension .php
|it is because of start and end tags
|you can have a file .abc with php tags and it will work
|
|I have it working on my server
|
|Suhas
| --

php.net (http://www.php.net/include/) quoth

"When a file is included, parsing drops out of PHP mode and into HTML mode
at the beginning of the target file, and resumes again at the end. For
this reason, any code inside the target file which should be executed as
PHP code must be enclosed within valid PHP start and end tags."


-- 
Registered Linux user #304026.
"lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import"
Key fingerprint = 52FC 20BD 025A 8C13 5FC6  68C6 9CF9 46C2 B089 0FED
Responses to this message should conform to RFC 1855.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to