Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts

    Are ssi's good code or as bad as iframes?

    Hi,

    I need to have a certain feature in one of my pages and I have heard that Iframes are not good. What about Server Side Includes then? Are they the way to go or should I find another way.

    hope this is the correct forum.

    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    SSi's are better to use imo. They'll work with all browsers etc as they're all processed by the server. You'll have no cross-browser, search engine, pda etc problems, as long as the html included it coded correctly, where as frames you're limited to what you can show them on

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Canada
    Posts
    253
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ssi and iframes are like apples and oranges.

    ssi will add in a section of coding to a spot. done.
    iframes are a section thing too, but you can change its contents at the click of a link. ssi stuff will have you reloading a new page each click.

    so it really depends on what direction you want to go in i guess.

    as for them being either bad or good though, both are good if they are coded well, both can be bad if not coded well, both will work in current browsers.

  • #4
    Regular Coder
    Join Date
    Jun 2004
    Posts
    112
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I don't agree with pb&j. Iframes are not NEARLY as compatible.

    What you should really do is install PHP....

    PHP Code:
    <?php require 'filename.ext'?>

  • #5
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    Ahh good. I am about to start learning php and MySQL so I may get a better solution then. Thanks guys.

    Bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •