Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
image not displayed
#4
The only fail-safe relative path is a path relative to the domain: “/GetSimple_2.01/data/uploads/041.jpg”. Starting with a forward slash means this path will be followed starting from the domain’s root.

The problem with relative paths is that you have to think about how visitors are going to see your page in their browser. Thinks about this: Unless you know exactly how a page is going to be requested by the visitors browser it’s impossible to use “../” in your relative path. You’re stuck with either a path relative to the domain or the exact path.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply


Messages In This Thread
image not displayed - by jeel2008 - 2010-09-05, 20:33:55
image not displayed - by Zegnåt - 2010-09-05, 20:57:09
image not displayed - by jeel2008 - 2010-09-05, 21:09:10
image not displayed - by Zegnåt - 2010-09-05, 21:22:14
image not displayed - by jeel2008 - 2010-09-05, 21:31:45
image not displayed - by eric@rosewood - 2010-09-08, 00:19:07
image not displayed - by Zegnåt - 2010-09-08, 05:36:04
image not displayed - by Carlos - 2010-09-08, 08:07:55



Users browsing this thread: 1 Guest(s)