[wp-testers] POST variables with Wordpress Pages (Using RC-2)

Jamie Talbot wphackers at jamietalbot.com
Thu Dec 15 02:03:56 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

New to the testers list, though not WordPress and have searched the
archives for a solution to this problem but drew a blank, so sorry if
it's been answered before...  Anyway, I'm using the latest nightly
revision (3308), which just became RC-2.

I have a page template that includes a contact form which can be found
at http://jamietalbot.com/devblog/?page_id=2 (This is just a shell for
testing).

The action of this form is to call itself at
http://jamietalbot.com/devblog/?page_id=2#contactme with some POST
variables which the php code in the underlying template processes.
These post variables don't conflict with any WP vars.

The problem is that the form actually redirects to the front page,
instead of back to the same page.  The correct URL with the contactme
anchor is
being passed and actually appears in the address bar.  If I type that
URL into the addressbar manually I reach the page as expected as
expected.  Simply removing the #contactme doesn't work.  Could it be a
problem with the redirecting code?  The script has been working on a
non-wordpress php page for over a year...

It sounds like it might be the same problem as mentioned here:
http://wordpress.org/support/topic/38479 - Was this ever resolved?  How
can I pass POST variables back to a WordPress page?

Cheers,

Jamie.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDoM8LrovxfShShFARAnE0AJ9OhFyZsv4CkiscWxFkZKVrq3NuoACfZJ+B
OW7A/+CbV8E1DBlUmOQ9sLo=
=EvtC
-----END PGP SIGNATURE-----


More information about the wp-testers mailing list