I need to change the way a URL is loaded when a form is submitted so that the value shows up like /directory/value/ instead of /directory/?variable=value when using the post method. Can somebody tell me how to accomplish this?
| SitePoint Sponsor |





I need to change the way a URL is loaded when a form is submitted so that the value shows up like /directory/value/ instead of /directory/?variable=value when using the post method. Can somebody tell me how to accomplish this?
John Saunders


I Think That Is Server Stuff, tbh.
I Asked My Host About This before, And They Said Use A Meta Refresh But Im Sure You Can Do It Via Apache. Iff You Are Using php That Is![]()





Why?
Is it a value of the form that is being submitted that needs to be in the querystring, or just some other piece of data?
Why are you using a POST?
That's supposed to be on the server-side. Try looking at something like mod_rewrite to do this for youOriginally Posted by JohnSaunders
.
Bookmarks