"; $text .= $_POST['tname'].",".LF.LF; } $comment .= nl2br ( stripslashes($_POST['sonst']) ); $text .= stripslashes($_POST['sonst']); $comment .= "
".$fromname; $text .= LF.LF.$fromname; $comment .= "
"; $text .= LF.LF.LF; } else { $comment .= $fullfrom.' schickt Ihnen diese Seite:
'; } $text .= $fullfrom.' schickt Ihnen diese Seite:'; $text .= LF.'http://'.$_SERVER['HTTP_HOST'].$pageuri; $article=file_get_contents('http://'.$_SERVER['HTTP_HOST'].$pageuri); //replace stylesheets by inline styles?? if ( preg_match_all ( '/\
]*)\>/i', $article, $matches ) ) { foreach ( $matches[0] as $amatch ) { $stylinline = ''; if ( preg_match ( '/ HREF=[\"\']([^\"\']*)[\"\']/i', $amatch, $hrefs ) ) { $stylinline=file_get_contents('http://'.$_SERVER['HTTP_HOST'].$basedir.$hrefs[1]); $stylinline=''; } $article=str_replace($amatch, $stylinline, $article); } } // remove javascripts $article=preg_replace ( '/\