Forum Themes:
Welcome !

 relative url

Author Message
ErEf

  • Total Posts : 931
  • Reward points : 7835
  • Joined: Feb 15 '04
  • Status: offline
relative url Thu. Feb 19, '04 5:50 PM (permalink)
0
Is that possible?.. I can't make an relative url with this code [link="disclaimer.asp"]register.asp[/link]

in snitz [url="disclaimer.asp"]register.asp[/url] works
 
#1
Samuel

  • Total Posts : 11858
  • Reward points : 180790
  • Joined: May 23 '01
  • Status: offline
RE: relative url Thu. Feb 19, '04 5:53 PM (permalink)
0
no, relative url is not possible with our pgd code. You need to input absolute Url.
ASPPlayground.NET
~ see our Version 4 plans here

 
#2
ErEf

  • Total Posts : 931
  • Reward points : 7835
  • Joined: Feb 15 '04
  • Status: offline
RE: relative url Fri. Feb 20, '04 4:00 AM (permalink)
0
isn't that easy to do?
know one has 3 options.. http://, ftp:// and https://.. why not make an 4th.. relative. then the code just wont add the selected url prefix. or am I thinking to simple.
 
#3
Samuel

  • Total Posts : 11858
  • Reward points : 180790
  • Joined: May 23 '01
  • Status: offline
RE: relative url Fri. Feb 20, '04 1:01 PM (permalink)
0
I can add a "relative" option to the list, but it will add forum's base url (also absolute URL) to the front of what you type in the URL box. Relative URL is not easy to implement as we have a feature that converts URL into a "SE friendly" URL:

For example,

This URL:

http://www.aspplayground.net/forum/tm.asp?m=381086 (which is a valid forum URL to a message)

with SE friendly conversion it becomes:

http://www.aspplayground.net/forum/m_381086/tm.htm (which is also a valid URL to the same message)

If you put a reference to "register.asp" in that message, under "SE friendly URL", the browser will look for http://www.aspplayground.net/forum/m_381086/register.asp which obviously is not what you want.

Hope I have made my point clear.

Regards,
ASPPlayground.NET
~ see our Version 4 plans here

 
#4
ErEf

  • Total Posts : 931
  • Reward points : 7835
  • Joined: Feb 15 '04
  • Status: offline
RE: relative url Fri. Feb 20, '04 1:46 PM (permalink)
0
totally clear... and what a comprehensive explanation
 
#5
Online Bookmarks Sharing: Share/Bookmark

Jump to:

Current active users

There are 0 members and 1 guests.

Icon Legend and Permission

  • New Messages
  • No New Messages
  • Hot Topic w/ New Messages
  • Hot Topic w/o New Messages
  • Locked w/ New Messages
  • Locked w/o New Messages
  • Read Message
  • Post New Thread
  • Reply to message
  • Post New Poll
  • Submit Vote
  • Post reward post
  • Delete my own posts
  • Delete my own threads
  • Rate post

2000-2012 ASPPlayground.NET Forum Version 3.9