how to add html banner in all pages of my offline web pages at once

Discussion in 'Programming' started by jnf, Jan 11, 2010.

  1. #1
    how to add html banner in all pages of my offline web pages at once

    i have 1000 web pages ready to upload but now i want to edit & put a html banner on the top of every page any short method
     
    jnf, Jan 11, 2010 IP
  2. Kaizoku

    Kaizoku Well-Known Member

    Messages:
    1,261
    Likes Received:
    20
    Best Answers:
    1
    Trophy Points:
    105
    #2
    Use a scripting language such as php to do server side includes..
     
    Kaizoku, Jan 12, 2010 IP
  3. jnf

    jnf Peon

    Messages:
    50
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    but sory to say can i ask that how i can use that i mean how i can convert ahh that my 1000 pages to php then i cn edit them all at once
     
    jnf, Jan 12, 2010 IP
  4. Mohanddo

    Mohanddo Member

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #4
    I think the best thing you can do is have a file for your banner and then have a program add the code for you in every single page. To change file extensions, you can pick a folder from CMD and change every .html to .php.
     
    Mohanddo, Jan 12, 2010 IP
  5. jnf

    jnf Peon

    Messages:
    50
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    cn i ask that how can cmd help me to convert the1000 html contanind folder in to php basicaly the problem ts that

    i just make 1000 pages web all by ms pub

    i mean that i have 1000 html pages with 3 diff background which is a complete web made in ms office or dreamviver but how to add any html banner on each page
    eg .allbestwallpapers. com

    it have 3 template 1 is on mail page 1 is in catagory and last is when we open a image

    so i also have a web like that ofline but i want to add a banner that will apear on all page ????

    is that the work of cpanel software like joumla worldpress or what????

    plz help me out
     
    jnf, Jan 12, 2010 IP
  6. spiderman3

    spiderman3 Peon

    Messages:
    177
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    just create an banner.php and include this file in your site file.
     
    spiderman3, Jan 13, 2010 IP
  7. jnf

    jnf Peon

    Messages:
    50
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    sorry 2 say but i can understand
    actually i have 1000 html page which is a complete web & i want to add a banner in them all at once
    how ?
     
    jnf, Jan 14, 2010 IP
  8. Yesideez

    Yesideez Peon

    Messages:
    196
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I think what the OP is asking is how to automatically add the code to include a banner into an existing site that currently doesn't have banners.
     
    Yesideez, Jan 16, 2010 IP
  9. Kaizoku

    Kaizoku Well-Known Member

    Messages:
    1,261
    Likes Received:
    20
    Best Answers:
    1
    Trophy Points:
    105
    #9
    Why did he post it in programming? Unless he wants a macro coded..
     
    Kaizoku, Jan 16, 2010 IP