Posted by AlexVN on 06/18/06 15:48
Oak Hall wrote:
> Is there another way to do this so post variables survive?
> if I have
>
> /z/something?command=blah&step=1
> and form variables (post)
>
> go to:
>
> /script.php?lib=something&command=blah&step=1
> and $_POST
Consider using apache's mod_rewrite to rewrite the URLs on the fly. So,
instead of calling /z/something for handling the request, you should
point apache on /script.php by something like:
RewriteRule !\.(js|ico|gif|jpg|png|css|zip|gz|html|xml)$ script.php
Sincerely,
Alexander
http://www.alexatnet.com/
[Back to original message]
|