Probier mal:
PHP-Code:
for (i=0;i<sizeof($schule);i++){
if($i==5){
$string.=" \$HauptPfad=".$_POST["fservpath"].";\r\n";
} else {
$string.=chop($schule[$i])."\r\n";
$i++;
}
Chop entfernt Leerzeichen, zeilenvorschübe, etc.
\r\n sorgt für "Windows-Zeilenvorschübe" (CRLF)
Jak
____________________________________
Join the DNRC |
Godwin\'s Law (thx@stona)
Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing.
\"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra)