![]() |
![]() |
|
![]() |
![]() |
|
Programmierung Rat & Tat für Programmierer |
|
Themen-Optionen | Ansicht |
![]() |
#6 |
Meisteroptiker
![]() |
![]() ich hab noch was geändert
$t1 = preg_replace( "/((www\.|http:\/\/).*?)\s/", "<a href=\"http://$1\" target=\"_new\">$1</a> ", $t) . " \n"; echo str_replace("http://http://","http://",$t1); weil wenn "www.cool.at" hat er versucht http://meinhost/test/www.cool.at draus zu machen jetzt tut er immer das http:// dazu und wenns doppelt is halt einmal wieder weg ![]() ![]()
____________________________________
©Sliver Productions http://www.sol.at/past/ http://www.lunchgen.com http://optik.dyns.cx http://sliver.hypermart.net/script/ |
![]() |
![]() |
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
|
|