Tags:
create new tag
view all tags

Question

Is it possible to access some topic like .../SomeTopic?foo=bar&x=y

and use the foo and x variables in the topic text? I was reading the TWikiForms and TWikiMetaData but I couldn't figure it out.

Thank you

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debian 2.6.18-4-486
Web server: Apache 2.0
Perl version: v5.8.8
Client OS: Debian
Web Browser: Firefox
Categories: Forms

-- CarlosSobrinho - 12 Jun 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

You can access url parameters using %URLPARAM{}%.

-- ArthurClemens - 12 Jun 2007

eg click on the link to change the text below https://www.twiki.org/cgi-bin/view/Support/GetPostFormData?foo=thisIsAFoo

  • notta foo

Thank you very must. BTW, is there anything similar to POST variables?

-- CarlosSobrinho - 14 Jun 2007

HTTP POST works as well. Test:

Result: notta foo

-- PeterThoeny - 15 Jun 2007

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2007-06-15 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.