Tag Archives: Severe Headaches

Include Paths

All right… now Ive had this issue before. I’ve my site basic, ok…. now ROOT includes customer list. cfm These days, my includes appear like this < a href=" test. cfm" > Should the menu file is a part of index. cfm, this url is siteroot. com/test. cfm Which can be perfect, now merely include the same file within a page in the prospect folder it is siteroot. com/customer/test. cfm WE do understand why this happens, however we would like them to link to siteroom. com/file. cfm from the siteroot pages and pages in just about any subdirectory. Ive tested out doing < a href=". /.. /test. cfm" > but this seems to use the path from the page im in (i thought it used the road of the includes directory) I am using coldfusion btw. I realize how to do this within php, but cant quite have the CF equiv. No, always uses the page use as a reference point. It’s not any PHP or CF thing, it’s an HTML CODE thing. More really simply a folder directory matter actually I found the most effective to this. In php it had been actually $SERVERDOCUMENT_ROOT + method to file. THis … Continue reading

Posted in Web Design | Tagged , , , , , , , , , | Leave a comment