Datos GET

13 views
Skip to first unread message

Daniel Cáceres

unread,
Jun 12, 2014, 10:52:19 AM6/12/14
to sif...@googlegroups.com
Buen día, sigo avanzando con mi aprendizaje SIFO, me gustaría saber como
tomo los datos GET y como tengo que pasar la ruta,
Tengo que hacer algo así?
http://webup.local/alumnos?2045 o http://webup.local/alumnos/2045 ??

Saludos!
Daniel Cáceres

Albert Lombarte

unread,
Jun 12, 2014, 5:09:23 PM6/12/14
to sif...@googlegroups.com
Hola,

El framework soporta el paso de parámetros tanto por GET (e.j /alumnos?id=2045) o como parte de la URL (a gusto del consumidor).
Te recomiendo esta lectura: http://sifo.me/recipes/managing-urls

Saludos





Daniel Cáceres

--
You received this message because you are subscribed to the Google Groups "SIFO, PHP framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sifophp+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Cáceres

unread,
Jun 13, 2014, 9:25:49 AM6/13/14
to sif...@googlegroups.com
Muchas gracias nuevamente Albert, estuve haciendo uso de $this->getParam(path_parts) que también me sirvió; pero voy a mirar lo que me pasaste.

Saludos,
Daniel C.


On Thursday, June 12, 2014 5:09:23 PM UTC-4, Albert Lombarte wrote:
Hola,

El framework soporta el paso de parámetros tanto por GET (e.j /alumnos?id=2045) o como parte de la URL (a gusto del consumidor).
Te recomiendo esta lectura: http://sifo.me/recipes/managing-urls

Saludos


2014-06-12 16:55 GMT+02:00 Daniel Cáceres <dcca...@gmail.com>:
Buen día, sigo avanzando con mi aprendizaje SIFO, me gustaría saber como tomo los datos GET y como tengo que pasar la ruta,
Tengo que hacer algo así?
http://webup.local/alumnos?2045 o http://webup.local/alumnos/2045 ??

Saludos!

Daniel Cáceres

--
You received this message because you are subscribed to the Google Groups "SIFO, PHP framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sifophp+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages