|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-03-22 05:09 UTC] hholzgra@php.net
[2002-03-22 05:19 UTC] adriaan dot van dot bauwel at defcon3 dot be
[2002-03-22 05:41 UTC] hholzgra@php.net
[2002-03-25 03:49 UTC] adriaan dot van dot bauwel at defcon3 dot be
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 30 06:00:01 2025 UTC |
I made a site under PHP 4.1.1 using the built-in PHP templating funtions through the use of the Alternative Control Structures. All my PHP code is in several .php files, all text of the website is in template/xxx.html format, including the alternative control structures and pure HTML syntax. At the end of the PHP page, i call the template HTML file with a require("template/xxx.html");. In PHP 4.1.1, this displays the page correctly. In PHP 4.1.2, the page loads untill it gets at the first PHP funtion in the template, being <? if ($extra_links): ?>. The standard variable parsing DOES work, as there's already a call to <?=$foto?> that gets parsed. I've reloaded PHP 4.1.1, and now the site in question works again like it should. No code been altered since the first installation of PHP 4.1.2. The sole need for PHP on this page is this templating, depending on which section of the site ppl visit, it loads a different main section of the site with a different menu. On a Linux system this problem doesn't exist. regards, Adriaan Van Bauwel