|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
If you use php then it doesn't matter as the page is sent to the PHP processor first which adds the text from your include and then sends the finished HTML off to the visitors browser.
<?php include('file.html'); ?> all pages must use the .php or .shtml extension though.
__________________
Carbonize |
|
|||
|
I agree with carbonize,
php is the way to go. It works just the same way as SSI. Just need to have .php as the extension on all your pages and call the includes as mentioned. The bonus, is: If your client says to you later down the road, that he/she would like to have a guesbook, shopping cart or some type of dynamic integration, then you're pages are already to accept the wonderful world of php / MySQL |
|
||||
|
Quote:
<?php include('file.html'); ?> and saved it both ways: as an .shtml and as a .php. Then I made a file with a line of regular html code (but without <html> or <head> or <body> tags), and saved it as file.html. But the uploaded test page did not show the contents of file.html.... _||_ db |
|
|||
|
To see what components are installed on the server, create a blank page, with only <? phpinfo(); ?>
Save the page as phpinfo.php and upload. Now navigate to yourdomain.com/phpinfo.php and see what it spits out What server are you on ? It's pretty rare that a host doesn't support php, unless it's a free host |
|
||||
|
Quote:
Quote:
Thanks again ------ _||_ db |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |