strong-storm Posted October 9, 2004 Report Share Posted October 9, 2004 Kāds var iesviest skriptu, kas pārvērš no . uz dot un no @ uz at ? Link to comment Share on other sites More sharing options...
hu_ha Posted October 9, 2004 Report Share Posted October 9, 2004 $str='aaaa@bbb.lv'; $str=ereg_replace('@','at',$str); $str=ereg_replace('\.','dot',$str); echo $str; Link to comment Share on other sites More sharing options...
bubu Posted October 10, 2004 Report Share Posted October 10, 2004 Nu zin, šitik elementārai repleisošanai var jau izmantot parasto str_replace, nevis ereg_replace ;) Link to comment Share on other sites More sharing options...
strong-storm Posted October 10, 2004 Author Report Share Posted October 10, 2004 paldies Link to comment Share on other sites More sharing options...
Recommended Posts