3 Jun
2010
3 Jun
'10
1:53 p.m.
Larry Garfield wrote:
If arg() is your answer, you're asking the wrong question. :-)
As an experiment, Tim, can you try using a page callback that doesn't go through drupal_get_form? It does some weird stuff, so you should eliminate that as a potential source of trouble.
I think what you're trying to do should work, which is why I recommend eliminating some variables.
I actually thought arg was the correct answer here as well. Not using drupal_get_form may well be what is needed but arg() would still need to be used to get the pieces. $args = arg(); array_shift($args); $ftp_path = implode('/', $args); -- Earnie -- http://progw.com -- http://www.for-my-kids.com