...

View Full Version : Placing file url in an html document vis SSI



Jeepers
01-23-2003, 08:10 PM
Hi all

This is pobably simple. I need to put the url of the current document into the current document so that it forms part of an 'email this to a friend' href.

If you don't get what I mean you can put the current date, for example, by using

<!--#echo var="DATE_GMT"-->

I need the same thing except for the document url.

I can do it by using javascript but it would be so much easier if the server could do it for me.

Thanks for your help.

Jeepers
01-23-2003, 08:22 PM
I think I've got it now

DOCUMENT_URI

I'll try it and see

Feyd
01-23-2003, 11:05 PM
For future reference:

http://www.uic.edu/depts/scailab/system/tutorial.shtml

Jeepers
01-24-2003, 12:26 AM
That is great, if only that had come up in my Google searches. As always Feyd, spot on. Thanks a lot. :thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum