Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    Conwy. UK
    Posts
    122
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Placing file url in an html document vis SSI

    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.
    An answer needs a question just as much as a question needs an answer. Deep eh!

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Conwy. UK
    Posts
    122
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Success (hopefully)

    I think I've got it now

    DOCUMENT_URI

    I'll try it and see
    An answer needs a question just as much as a question needs an answer. Deep eh!

  • #3
    Regular Coder Feyd's Avatar
    Join Date
    May 2002
    Location
    Los Angeles, CA Maxim: Subvert Society
    Posts
    403
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Moderator, Perl/CGI Forum
    shadowstorm.net - subvert society

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    Conwy. UK
    Posts
    122
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That is great, if only that had come up in my Google searches. As always Feyd, spot on. Thanks a lot.
    An answer needs a question just as much as a question needs an answer. Deep eh!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •