Thread: Loading a file from subfolder
Results 1 to 3 of 3
Related
-
PHP for automatically generating file/link list with file titles Forum: PHP Forum
Replies: 1 -
how can i do (loading...) Forum: Javascript Forum
Replies: 1 -
Help with an non loading website!?! Forum: HTML Forum
Replies: 5 -
Is it possible? loading two different script from one <img ... >?? Forum: CGI Perl Forum
Replies: 0 -
Problem loading .pdf file Forum: HTML Forum
Replies: 3
-
08-25-2001, 05:38 PM #1
Loading a file from subfolder
Hello,
I have a sort of problem that I need your help here.
In my Main Index page I have the following code:
<CENTER>
<STRONG><A HREF="CONTACT_US.HTM">Contact Us </A></STRONG></P>
</CENTER>
This when you click on it it opens the "CONTACT_US.HTM" file.
I want someone to tell me the code in order to open a file in a subdirectory.
e.g in the "support" subfolder, the file "index.htm"
I suppose the same code must work also when I have the webpage in my computer also.....
Is it like the following?
<STRONG><A HREF="support/index.htm">Support Page </A></STRONG></P>
but it does not seems to work......
I need help with that please.....
I know that I can normally type:
<STRONG><A HREF="http://christofides.com/support/index.htm">Support Page </A></STRONG></P>
But I do not want this way because I have the same page in a lot of places, and mirrors, and I do not want to change the code for every place individually....
Thank you very much in advance
Costas Christofides
-
08-25-2001, 06:12 PM #2
<A HREF="support/index.htm">Support Page </A> should work if the index.htm file is in the support directory, and the page that the link is on is one directory above the support directory. Also, remember that on most servers, file names are case sensitive.
-
09-05-2001, 04:14 PM #3
Thank you very much Enigma.
I try it and it works great.
I had a sort of problem with my Computer, but now that I fix it, I saw your message.
Thank you very much.
Your help is very-very much appreciated.
Christofides Costas
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum