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