![]() |
|
PHP PROBLEM ! HILFE ! - Druckversion +- TT-MS Headquarters (https://www.tt-ms.de/forum) +-- Forum: Sonstiges (https://www.tt-ms.de/forum/forumdisplay.php?fid=43) +--- Forum: Café (https://www.tt-ms.de/forum/forumdisplay.php?fid=15) +--- Thema: PHP PROBLEM ! HILFE ! (/showthread.php?tid=1722) |
PHP PROBLEM ! HILFE ! - TopGamer - 04.02.2006 ich bekomms net gebacken warum werkelt das script net: Code: <?php
$path = dirname($_SERVER['SCRIPT_FILENAME']);
$path = stripslashes($path);
$string = "C:Program Files (x86)Apache GroupApache2httpd";
$path = substr($path, $string);
$no = "0";
$pgowner = $path;
list($user, $dir) = split("/", $pgowner, 2);
if ($user == "schachclub" ) { $no = "1"; }
if ($user == "" ) { $no = "1"; }
if ($no == "0" ) { echo('<font size="2" face="verdana"><a href="pcneuburg.net">pcneuburg.net - kostenloser Webspace</a></font>'); }
?>(20:44:13) Lord of Winchester: wenn ich $path und $string ausgeb und ich bin aufm root verzeichnis is es genau dasselbe (20:44:21) Lord of Winchester: aber $string wird net in $path ersetzt - Christoph Hackl - 26.02.2006 Villeicht weil da a Smeili in demm Skript is [ ]
|