As i know you can access query params via params hash. For example,
http://yoursite.com/?someparam=123 will be accessable through:
params[:someparam]

Is it ok?

On 10/22/09, Anton Aylward <anton.aylw...@rogers.com> wrote:
> I have a Radiant site hosted on Dreamhost.
> It works fine.
>
> I'm in the process of adding their "Announcement List" to the site.
> OK so far.
>
> Their how-to page is at
> http://wiki.dreamhost.com/Announcement_Mailing_List#How_do_I_display_information_from_the_form_on_my_custom_URLs.3F
> Well, actually that's my question.
>
> They give an example in PHP of taking CGI parameters and using hem in
> the text body of the page.
>
>       <?php
>       $email = $_GET['address'];
>       $name = $_GET['name'];
>       ?>
>       Thanks for subscribing, <?php echo $name; ?> - we'll send our
>       next newsletter to you at <?php echo $email; ?>!
>
>
> Can you do this in Radiant?
>
> Actually there also the 'code' parameter.
> it would be nice to be able to have just one response page and to be
> able to branch on that code.  Is this do-able in Radiant?
>
> /a
>
>
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>

-- 
Sent from my mobile device

________________
Regards,
Mamed Mamedov
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to