0

I know this is pretty simple but I can't find the answer for it..

say you have an link that you want to connect to..

http://example.com/example1/example2/final.com

and you don't want it hard coded cause you have many other links that will use that path.. say..


http://example.com/example1/example2/final1.com

http://example.com/example1/example2/final2.com

how can i get up to the third directory? if just use "/final1.com" it turns out as
"http://example.com/final1.com", it cuts out the other paths..

thanks in advance..

2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by AbberLine
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.