![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
![]() |
#1 |
ICQ:649699063
Industry Role:
Join Date: Mar 2003
Posts: 27,763
|
How to insert html page into another page?
Hello,
Let's say you have a top.html and you want to insert it into index.html. What are some ways to do this? I tried these 3 lines of code, but they did not work. <!--#include virtual="top.html"> <?include "top.html"?> <?php include("top.html"); ?> Thank you, Fatfoo
__________________
Send me an email: [email protected] |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Jan 2010
Location: Europe
Posts: 1,327
|
rename index.html to index.php and try
PHP Code:
__________________
icq: 395 294 346 http://www.adultsubmitter.eu - submit any adult site to 20 directories from 1 form! now 20 domains! http://www.porndeals.eu http://www.ebonybangbros.com |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Feb 2009
Posts: 995
|
ask a guy with that much gfy posts count and so clueless ?!?!? LOL
![]() ![]()
__________________
Try RSTGP : A Really Simple FREE Thumb Rotator Script. You Can Build A Complete TGP Site In 20 Minutes... contact me if you have questions ![]() Sexy Cams Online |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#4 |
ICQ:649699063
Industry Role:
Join Date: Mar 2003
Posts: 27,763
|
I will try that...
__________________
Send me an email: [email protected] |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#5 |
^-^
Industry Role:
Join Date: Jul 2007
Location: SacTown
Posts: 1,055
|
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#6 | |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
|
Quote:
you should add something like this to your htaccess Code:
AddHandler application/x-httpd-php htm html this way you can use php inside .htm or .html files... if you have lot's of .html files try to avoid this. you can also do it by mod_rewrite... hit me up for specific details (icq in sig)
__________________
Make a bank with Chaturbate - the best selling webcam program ![]() ![]() ![]() Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!! PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email: ![]() |
|
![]() |
![]() ![]() ![]() ![]() |