Alex is correct BUT it is considered bad form to echo to the browser straight from the action.
If you wish to display the URI in your template file you can do this as such: <!-- HTML stuff above --> <?php echo $sf_request->getUri() ?> <!-- HTML stuff below --> $sf_request is passed as an object to the template for this very reason, along with a host of others you can use. On Thu, Feb 3, 2011 at 11:02 PM, OldWest <[email protected]> wrote: > Near the bottom of the page under heading "The Request": > http://www.symfony-project.org/jobeet/1_2/Propel/en/04 > > There are a list of wrappers that can be used to "gather" data. And I am > just trying to understand how to implement them in the view from the > controller. Like in normal php, I could do: echo $_SERVER['REQUEST_URI']; > and get that data on the page. > > How do I do this with Symfony? > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<symfony-users%[email protected]> > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- Gareth McCumskey http://garethmccumskey.blogspot.com twitter: @garethmcc identi.ca: @garethmcc -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
