Ver Mensaje Individual
  #21 (permalink)  
Antiguo 30/12/2011, 01:08
Avatar de jose mario
jose mario
 
Fecha de Ingreso: abril-2007
Mensajes: 165
Antigüedad: 17 años
Puntos: 0
Respuesta: ereg_replace Deprecated: Function

http://www.php.net/manual/en/referen...tern.posix.php
Este fue en enlace que me diste.
*********************
/echo $month."-".$year."-";
$date_string = mktime(0,0,0,$month,1,$year); //The date string we need for some info... saves space ^_^

//echo $date_string;

$day_start = date("w",$date_string); //The number of the 1st day of the week

/////////////////////////////////////////////
//Filter the current $_GET['date'] from the QUERY_STRING
//esta es la linea error
$QUERY_STRING = preg_replace("&date=".$month."-".$year,"",$_SERVER['QUERY_STRING']);
//
/////////////////////////////////////////////

**********************
luego me dijiste que leyera sobre delimitadores en este link
http://www.php.net/manual/es/regexp....delimiters.php