Help on include tag

They have: 55 posts

Joined: Jun 1999

I'm trying to include "http://www.halogyn.com/members/3dretreat/aircombatretreat/" into "http://aircombat.3dretreat.com/news.shtml" and nothing is happening. I have tried almost every include tag and nothing happens. Need some help.

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi,

As far as I know, you can't "include" a directory into a page. You can only include *.js files.
<script language='javascript' src='somename.js'></script>
If you want people to have access to the files in the directory, you can link to it:
<a href="http://www.halogyn.com/members/3dretreat/aircombatretreat/">Air Combat Retreat</a>
but if there is no "index.html" in the directory, they will only see a directory listing.

If you are talking about a server-side include, never mind.....

Vinny

------------------
my site:GrassBlade: cut&paste javascript
moderator at:The Javascript Place
Javascript City

Where the world once stood
the blades of grass cut me still

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

If you don't have permission to include the page (on your server's side) you won't be able to do it.

You need to have the url as an allowed url.

I'm not sure if I can explain this. Sorry.

But if you have permission from the owner of the page you want to have included, you can use frames to include it. Or you can, more logically, write a brief summary of the page and hyperlink to the real deal.

hth,

Suzanne

------------------
Zero Cattle
Suzanne
Tables DeMystified

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.