Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
Embanding PHP and forms.
Avatar
jtoupin #1
Member since Jul 2006 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: Embanding PHP and forms.
Hi,
on a wiki page a created an html form enclosed in <html> tags that submits to itself. Then on the same page, i have some php code inside <php> tags that processes the form input. The problem I have is that the $_POST variable is empty ?

Does Dokuwiki wipes the php $_POST variable ?

Thanks for your help.
Avatar
ericlin #2
Member since Nov 2006 · 15 posts
Group memberships: Members
Show profile · Link to this post
Hi, I am wonder if you have got the answer for this question. I have similar problem now. Thanks.
Avatar
andi (Administrator) #3
User title: splitbrain
Member since May 2006 · 3450 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Stuff between the <php></php> tags is only executed once, the output then is cached with the page and not executed again. Disabling the cache for the page might help.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Avatar
ericlin #4
Member since Nov 2006 · 15 posts
Group memberships: Members
Show profile · Link to this post
Thanks, Andi. This answered something really bothered me.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-07-23, 14:21:31 (UTC +02:00)