[pmwiki-users] Why do I see "$PostVars"?

Tony C. frodo1990 at yahoo.com
Wed May 16 16:04:20 CDT 2007


In the pmwiki.org Wiki Sandbox I entered the following:

(:if enabled InvalidLogin:)
ERROR: Name/password not recognized
(:if:)
(:input auth_form:)
|| border=0 cellpadding=5
|| Name:||(:input text name=authid:) ||
|| Password:||(:input password name=authpw:) ||
(:input submit value='OK':)
(:input end:)


What I see when I save that is (compensating for not being able to
display HTML input elements):

$PostVars
    Name: [             ]
Password: [             ]

[OK]


Why is "$PostVars" displayed there? Is there an easy way to make it not
be displayed?

You can also just go to http://www.pmwiki.org/wiki/Site/AuthForm and
see the "$PostVars" text displayed.


Motivation: I want a login form to appear (I use authuser) on the Home
Page when someone first visits (i.e. has not "logged in" yet) on a wiki
that is read-protected (except for that Home Page) to only authorized
users.

So I copied the above form from Site.AuthForm to my Home Page hoping to
and noticed this behavior. If there is some other way to do what I want
that provides the same functionality without displaying "$PostVars",
that would be great.




~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Whenever a theory appears to you as the only possible one,
take this as a sign that you have neither understood the theory
nor the problem which it was intended to solve. -- Karl Popper
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
HOME PAGE: www.awcfamily.com

I have no control over anything that appears after this sentence.


 
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 



More information about the pmwiki-users mailing list