/* --- PHP Start --- */ $EX_aA_CALLING[pgmName] = basename($_SERVER[PHP_SELF]); $EX_aA_CALLING[pgmPath] = dirname($_SERVER[PHP_SELF]) . '/'; # ich will hinten ein abschliessendes / $EX_aA_CALLING[pgmPath] = preg_replace("|^/|",'',$EX_aA_CALLING[pgmPath]); # das erste / entfernen $EX_aA_CALLING[pgmPath] = preg_replace("|php/php.exe/|",'',$EX_aA_CALLING[pgmPath]); # bei Windows noch /php/php.exe/ entfernen $EX_aA_CALLING[pgmPathUp] = $EX_aA_CALLING[pgmPath]; $EX_aA_CALLING[pgmPathUp] = preg_replace("|.*?/|",'../',$EX_aA_CALLING[pgmPathUp]); # alle abc/ ersetzen durch ../ include($EX_aA_CALLING[pgmPathUp] . 'pgm/cgi-module/p_werbung.php'); /* --- PHP Ende --- */ ?>
| Inserate aufgeben - Wichtige Informationen |
So einfach geht das! |