1
Mods & Plugins (Releases & Support) / Re: [Mod] Random image / Zufallsbild
« on: November 20, 2002, 01:18:34 PM »
Vielen, vielen Dank!!!!!
Es funktioniert!
Es funktioniert!
Check the new Tutorial subforum with helpfull guides and tutorials for modifications and tweaks.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Für http://www.strodthoff-online.de/abi91/index.php :Code: [Select]define('ROOT_PATH', './4images/');
include("/home/strato/www/st/www.strodthoff-online.de/htdocs/abi91/index/random.php");
Für http://www.strodthoff-online.de/abi91/index.php :Code: [Select]define('ROOT_PATH', './');
include("/home/strato/www/st/www.strodthoff-online.de/htdocs/abi91/index/random.php");
Jan
include(ROOT_PATH.'includes/constants.php');
und auch mit dem absoluten Pfad klappt es nicht.
include("/home/strato/www/st/www.strodthoff-online.de/htdocs/abi91/index/random.php")
define('SCRIPT_URL', 'http://www.brinkmann-online.de/umleitung/4images/');
$thumb_src = (is_remote($row['image_thumb_file'])) ? $row['image_thumb_file'] : SCRIPT_URL.THUMB_DIR."/".$cat_id."/".$row['image_thumb_file'];
echo "<a href=\"".SCRIPT_URL."details.php?image_id=$image_id\"><img src=\"".$thumb_src."\" border=\"0\" alt=\"$image_name\"></a><br>\n";