Re: templates?
I use Template_IT since it allows me to have no PHP code in my HTML files
and no HTML in my PHP scripts. Templates don't always make it easy to
achieve this, but they do make it possible.
.
Relevant Pages
- Re: redirect / new website how to redirect old (google) links to new site ?
... Configure your server to parse .html files for PHP. ... It's unnecessary overhead to parse static html files for PHP code. ... (comp.lang.php) - Re: php within dhtml, is that possible?
... If your web server ... config to parse html files for php code. ... (comp.lang.php) - Re: php on linux..
... web server doesn't look for PHP code in HTML files. ... The phpinfo() function is going to print a long list of information about PHP on the ... (php.general) - Re: html code from folder
... subfolder and html files? ... You can't include PHP code into an HTML page. ... You can't include php code in html pages, unless you really screw up your configuration. ... Please show exactly how to configure Apache to perform this (without parsing all .html files as PHP, ... (alt.php) - Re: 2nd pair of eyes, simple ?
... It seems like the code is just not executing. ... header("Location:http://www.yahoo.com";); exit;} else { ... it doesn't give you error of headers already been sent therefore I submit that your php code is never executed for one reason or another. ... You either need to use a .php extension, or you need to change your Apache configuration to parse .html files as php code. ... (comp.lang.php) |
|