Visa ett inlägg
Oläst 2010-10-12, 01:33 #1
Bjorne Bjorne är inte uppkopplad
Flitig postare
 
Reg.datum: Sep 2009
Inlägg: 374
Bjorne Bjorne är inte uppkopplad
Flitig postare
 
Reg.datum: Sep 2009
Inlägg: 374
Kod:
$pat = "/(<img[^>]*src\s*=\s*[\"\'])(\/.*)([\"\'])/";
$repl = "\\1http://domain.name\\2\\3";
preg_replace($pat, $repl, $html);
Bjorne är inte uppkopplad   Svara med citatSvara med citat