Forum Moderators: phranque

Message Too Old, No Replies

$_POST empty after URL rewriting

My hidden values do not seem to survive the URL rewriting

         

Stine

1:26 pm on Jan 17, 2005 (gmt 0)

10+ Year Member



Hi :)

I have already posted this problem, but as it was as a reply to a different problem, I repost it here in its own thread...

I am doing some URL rewriting using some rewrite rules in my .htaccess file. The rewriting is now working just perfect but my hidden values (form elements of the form <INPUT TYPE="HIDDEN" NAME=.../>) do not seem to survive the rewriting. That is, $_POST (I am doing php) is empty.

Does anyone know what is going on? :}

Thanks,
Stine

Caterham

2:18 pm on Jan 17, 2005 (gmt 0)

10+ Year Member



Do you have a RewriteRule with a forced external redirect (using the [R]-Flag)?

Post-Data should afaik be passed along for internal redirects.

Bob

Stine

3:23 pm on Jan 17, 2005 (gmt 0)

10+ Year Member



Jibii:)) I just changed things such that I do not need the [R]-flag and now it works excellent! Thanks a lot! You are a hero!

Stine