Reply to Re: Path for SSI in htm file

Your name:

Reply:


Posted by mbstevens on 04/01/07 15:40

On Sun, 01 Apr 2007 12:57:28 +0000, Poten Tate wrote:

>> I suspect that you don't want to use 'folder0/'
>> Instead, try:
>> <!--#include file="../../anotherfile.txt" -->
>> ...*if* anotherfile.txt is in a folder two directories up named folder0.
>> But it's hard to say without actually being able to look at a printout
>> of the directories in question.
>
>
> mb, the name "folder0" is just an example, not the actual folder name. The
> actual folder name is "ads." The code you suggested above, and which I've
> already tried, gives me an "[an error occurred while processing this
> directive]" error. Below are the actual names of the folders. Thanks for
> your help.
>
> public_html/seasonal/code/ssis.htm - where I am
>
> public_html/ads/burst728x90.txt - where I'm trying to go from above.

Oh. Then you would want...

.../../ads/burst728x90.txt

In painful detail:

'ssis.htm' is in the 'code' directory.

the first '../' takes you up to the 'seasonal' directory

the second '../' takes you up to the 'public_html' directory.
This directory has the 'seasonal' directory you just came from,
but also the 'ads' directory you are going to.

From that directory you go down into the 'ads' directory with 'ads/'
before calling the text file.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация