The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




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)