Newsticker

with slash $CardRelURL = "../postcard/images/"; $CardPicPath = "/home/www_titanic/www/postcard/images"; // praxis -> no slash $AdminAddress = "postcard@titanic-magazin.de"; // Variablen fuer dynamische Startseite switch ($_SERVER['SERVER_NAME']) { case "piper-alpha.luka.ffm": $sub_folder = explode("/", $_SERVER['PHP_SELF']); $StartPicPath = "/home/www/htdocs/jo_kuechler/".$sub_folder[1]."/startpics"; // praxis -> no slash break; default: $StartPicPath = "/home/www_titanic/wwwold/startpics"; // praxis -> no slash } // switch // Variablen für das Wallpapers $DownloadRelURL = "../download/images/"; $DownloadImageURL = "http://wwwold.titanic-magazin.de/download/images/"; // praxis -> with slash $DownloadPicPath = "/home/www_titanic/www/download/images"; // praxis -> no slash // Characters Handling für das Postkartenskript $CardMessage = stripslashes($CardMessage); // to remove any slashes caused by magic quotes $CardMessage = preg_replace( "/'/", "'", $CardMessage); //to change the ' to be displayed via html asciicode $CardMessage = preg_replace( '/"/', """, $CardMessage); $CardHeader = stripslashes($CardHeader); // to remove any slashes caused by magic quotes $CardHeader = preg_replace( "/'/", "'", $CardHeader); //to change the ' to be displayed via html asciicode $CardHeader = preg_replace( '/"/', """, $CardHeader); ?>