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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Pages in Different Directories Display Differently?

    I've got an IDENTICAL web page in two separate directories, one the parent of the other. I've double checked that they are identical, but they display differently! I don't understand. Is there any precedent for this? Both use PHP code, but it's the same code...?

  • #2
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    The problem could either be your php, your css, your html, or your server.

    If you want to know more, perhaps a little more detail would help?

  • #3
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,746
    Thanks
    18
    Thanked 155 Times in 146 Posts
    How exactly do they display differently?

    Ditto to what rmedek said...
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  • #4
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It turns out that the problem was with the PHP. The include() function has some issues with working from different directories because of PHP's include path, apparently. I can't change the include path in the ini file on my web host, so I'm going to try using SSI instead.

    Sorry if this is in the wrong forum now.


  •  

    Posting Permissions

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