Welcome Guest, Not a member yet? Register   Sign In
uri segments question
#1

[eluser]hcker2000[/eluser]
I know the usual model is /controller/method/param1/param2/ etc... What I am wanting to do is find all parameters after param1 as after param1 there could be any number of parameters.

This is for a gallery that I am working on so here are a few examples.

This would be an example of just going to the gallery no sub directories.
/gallery/1/

This would be with sub directories.
/gallery/1/art
/gallery/1/art/photos

the 1 is a record id in a database. That record contains the path to that galleries directory.

So far the only think I can think of is to do this.
Code:
$tmp = func_get_args();

and that does not seem to contain the segments I am looking for.


Messages In This Thread
uri segments question - by El Forum - 11-29-2009, 11:30 AM
uri segments question - by El Forum - 11-29-2009, 11:36 AM
uri segments question - by El Forum - 11-29-2009, 11:38 AM
uri segments question - by El Forum - 11-29-2009, 11:55 AM
uri segments question - by El Forum - 11-29-2009, 04:42 PM
uri segments question - by El Forum - 02-17-2012, 02:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB