Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Other Web Development (https://www.askmehelpdesk.com/forumdisplay.php?f=467)
-   -   Odd Page Code (https://www.askmehelpdesk.com/showthread.php?t=97121)

  • May 30, 2007, 02:42 PM
    RickJ
    Odd Page Code
    When I view the source of BookingApple.com, all I get is this:

    Code:

    <!-- BOF: ./personal-templates/show.body -->
    <!-- BOF: ./personal-templates/simple/generic/show -->
    <!-- BOF: ./personal-templates/simple/generic/functions -->
    <!-- BOF: ./personal-templates/simple/generic/navbar --><!-- EOF: ./personal-templates/simple/generic/navbar -->

    What does this mean about how the site is set up? The people who have this business are neighbors of mine and the person who set it up for them is hard to reach. I told them I need to know the host and ftp info for the site, but from the looks of that code, I think I'll need more than that.

    I've never seen page code like that before. Can someone shed some light?

    Thanks!
  • May 30, 2007, 03:22 PM
    Northwind_Dagas
    Looks like they are using server side scripting to protect their code. What you do see are comments. If they are accurate, the scripts are located at "./personal-templates/show.body" which is a folder before the www directory and not accessible from the web broswer. In short, the code is produced by the server dynamically each time the page is loaded and then presented to the browers.
  • May 31, 2007, 02:51 AM
    RickJ
    Oh I see. Thanks, Northwind. Just like how scripts point to server side pages that users cannot see... but in this case the whole site is pointed to them?

    Out of curiosity, what is the purpose of doing it that way?
  • May 31, 2007, 04:56 AM
    Northwind_Dagas
    I would say code protection and extra security. There may be other reasons I'm not aware of.

  • All times are GMT -7. The time now is 07:53 AM.