So i have an include file sidebar which i am using in all pages. Hope this is clear to understand and someone helps me out. Add a comment. Active Oldest Votes. We solved this problem the following way Each of our asp pages included a special file that Dims and sets golbal variables. We called ours Info. Odys 8, 9 9 gold badges 65 65 silver badges bronze badges.
Jatin Jatin 1, 2 2 gold badges 15 15 silver badges 23 23 bronze badges. Thanks again for all help. You say can't use it, so I would think of different ways OS links similar to above, but at the OS level use mappath. Rodolfo Rodolfo 4, 21 21 silver badges 36 36 bronze badges. The include directive is used to create functions, headers, footers, or elements that will be reused on multiple pages.
If a file named "header. Use the file keyword to indicate a relative path. A relative path begins with the directory that contains the including file. If you have a file in the html directory, and the file "header. If the file containing this include statement is not in the html directory, the statement will not work. In the sections above we have used the file extension ".
Notice that if a user tries to browse an INC file directly, its content will be displayed. Add a Solution. Accept Solution Reject Solution. Finally i configured and overcome the error successfully. Add your solution here. OK Paste as. Treat my content as plain text, not as HTML. Existing Members Sign in to your account. This email is in use.
Do you need your password? Submit your solution! When answering a question please: Read the question carefully. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem.
Insults are not welcome. Don't tell someone to read the manual.
0コメント