1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

How to split big HTML files?

Discussion in 'All Other Software' started by juice99, Feb 8, 2005.

Thread Status:
Not open for further replies.
  1. juice99

    juice99 Thread Starter

    Joined:
    Feb 8, 2005
    Messages:
    1
    Hi,
    I have many HTML files, some of them are quite big (up to 400 even 800KB)

    i want to host some of them on free hosting site, but its impossible due to file size limit they give, so i would like to just split them in many HTML, but i just cant find any tool that does it.

    something that will split every file in directory that is bigger that for example 150KB into several smaller ones and add the navigation bar to them (or anything)

    any ideas?
     
  2. Peacock

    Peacock

    Joined:
    Oct 9, 2003
    Messages:
    48
    You could have a PHP file which calls in parts of your chopped up HTML. Like:

    <? php include 'header.html' ?>
    <? php include 'body.html' ?>
    <? php include 'footer.html' ?>

    I like templates made using PHP.

    Peacock
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Similar Threads - split HTML files
  1. ChaoticDragon
    Replies:
    0
    Views:
    338
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/328179

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice