Ver Mensaje Individual
  #1 (permalink)  
Antiguo 15/06/2011, 11:55
charlyta
 
Fecha de Ingreso: junio-2008
Mensajes: 291
Antigüedad: 15 años, 10 meses
Puntos: 9
duda con $_REQUEST

Es incorrecto utilizar $_REQUEST en una isntrucción como esta? Gracias


Código PHP:
Ver original
  1. if($_REQUEST['command']=='add' && $_REQUEST['productid']>0){
  2.         $pid=$_REQUEST['productid'];
  3.         addtocart($pid,1);
  4.         header("location:shoppingcart.php");
  5.         exit();
  6.     }