Ver Mensaje Individual
  #16 (permalink)  
Antiguo 02/10/2010, 11:19
JPZamora
 
Fecha de Ingreso: mayo-2009
Ubicación: Mérida, Yucatán
Mensajes: 68
Antigüedad: 15 años
Puntos: 3
Respuesta: Variable dinámica

Lo que quiero hacer con esas variables? Te voy a explicar aver si es lo que preguntas
Código PHP:
 $push = new BoxAPI('$secret','$key');
    
    
$push->notify('email@address','boxAPI','Hello Kshitij!','rand'); 
esa parte se genere con cada diferente secret y key:

Código PHP:
 $push = new BoxAPI('agjleybstry','1516384');
    
    
$push->notify('email@address','boxAPI','Hello Kshitij!','rand'); 

 
$push = new BoxAPI('dhfhsbyhsdry','05463498');
    
    
$push->notify('email@address','boxAPI','Hello Kshitij!','rand'); 

 
$push = new BoxAPI('ybsdrysrybdrs','1864548');
    
    
$push->notify('email@address','boxAPI','Hello Kshitij!','rand'); 
es decir la parte de notify es igual para todos..