html help
|
03-15-2010, 04:54 AM,
|
|||
|
|||
html help
how would i make an HTML template work with adding things but not trough editing the file?
|
|||
03-15-2010, 05:33 AM,
|
|||
|
|||
RE: html help
Well, you'd first have to edit the file and split it into two parts: a header, and a footer. You'd save these parts as header.php and footer.php, respectively, and then do like so:
PHP Code: <?php include 'header.php'; ?> Hi! I'm Zach, and I founded NiftyHost. If you need anything, just PM me! :)
|
|||
03-17-2010, 03:40 AM,
|
|||
|
|||
RE: html help
Please note that this only works on hosts that have php enabled.
With love,
HiddenKnowledge A.k.a. Yoruichi Shihouin If you have any questions, feel free to contact me trough email or pm. :) |
|||
03-17-2010, 06:30 AM,
|
|||
|
|||
RE: html help
We're a host with PHP enabled - most hosts are.
Hi! I'm Zach, and I founded NiftyHost. If you need anything, just PM me! :)
|
|||
04-11-2010, 07:07 AM,
|
|||
|
|||
RE: html help
I wouldn't recommend html, php is more commonly used.
|
|||
04-11-2010, 07:08 AM,
(This post was last modified: 04-11-2010, 07:09 AM by HiddenKnowledge.)
|
|||
|
|||
RE: html help
(04-11-2010, 07:07 AM)trainhappy Wrote: I wouldn't recommend html, php is more commonly used. In combination with php it is.
With love,
HiddenKnowledge A.k.a. Yoruichi Shihouin If you have any questions, feel free to contact me trough email or pm. :) |
|||
05-04-2010, 04:33 AM,
(This post was last modified: 05-13-2010, 05:05 PM by maniaC.)
|
|||
|
|||
RE: html help
Mone,
Make sure if you do what Zack suggested, the extension should be .php instead of .html or .htm. |
|||
05-12-2010, 06:50 AM,
|
|||
|
|||
RE: html help
Quote:Make sure if you do what Zack suggested, the extension should be .php instead of .html or .htm. Or if you wanna be a little nerdy, you can make the server parse the php with .html or .htm extensions by adding a .htaccess file with the following settings :): Code: RemoveHandler .html .htm |
|||
07-09-2010, 06:42 PM,
|
|||
|
|||
RE: html help
<?php include('xxx.htm');?>
what about iframe , it can also get your point
飞蚊症信息网
|
|||
« Next Oldest | Next Newest »
|