Forums / Setup & design / Passing HTTP GET parameters in ezP

Passing HTTP GET parameters in ezP

Author Message

Tristan Koen

Thursday 14 August 2003 2:49:21 am

How does on pass HTTP GET parameters in ezPublish? Looking at the existing templates (such as user/register),
parameters such as RedirectURI are passed from page to page by HTTP POST variables initialised in <input type="hidden"> tags.

I have nothing against POST, but it is not always the best tool for the job. If I want to have a text link on the login template to take users to the user registration page, how do I construct the target URL so that RedirectURI is included?

Something along the lines of http://mysite.com/user/register/redirect_uri/site.com/content/view/full/12 doesn't work at all.

This is also something I would like for the module tipafriend.
I can get it to work for articles by using
/content/tipafriend/63
where 63 is the nodeid for my article. Looking at the source code, it can also take a number of POST parameters (subject, email address, etc) that I could pre-fill from my user details. Can I do this without a POST?