$newpic='http://upload.111cn.net/';
$oldpic='http://down.111cn.net/uploads/';
$litpic='http://down.111cn.net/uploads/allimg/101124/1_21292911l.jpg';
$litpic = str_replace($oldpic,$newpic,$litpic);
/*$litpic = $newpic.substr($litpic,strlen($oldpic));*/
echo $litpic;