Facetious: frage zu str_replace

Beitrag lesen

hi leute!

hi

<?
$text = @include("http://212.46.117.56/nik/incoming.txt");
$text2 = str_replace("/n", "", $text);
echo $text2;
?>

<?php
   $text = @include("http://212.46.117.56/nik/incoming.txt");
   $text = str_replace("\n","",$text);
   $text = str_replace("\r","",$text);
?>

ODER

<?php
   $text = @include("http://212.46.117.56/nik/incoming.txt");
   $text = trim($text);
?>

mfg Facetious