⇒ http://my.opera.com/tech-nova/blog/

Un site qui recense les astuces et évolutions des possibilités de SPIP.

[13014] Howto make an action executable inside the public area ?

Octobre 2008, par tech-nova

Until now, it was impossible if the arguments where passed in the url.

[12798], however, made it possible with a POST : The 4th arg of generer_url_action forces the production of an URL executable in the public area, even if it should use a POST (it’s also the case for redirige_par_entete).

With this commit, an additional boolean parameter, $public, has been added to some functions to make them work in the public area : generer_form_action, and securiser_action_auteur

→ Lire la suite sur le site d’origine…