Results 1 to 1 of 1
Thread: PHP URL Routers and HTML Forms
Mar 15, 2013, 08:47 #1
- Join Date
- Dec 2010
- 0 Post(s)
- 0 Thread(s)
PHP URL Routers and HTML Forms
I've just started working with YAF, and am quite liking how it works!
The biggest problem I'm having so far is, how on earth do you have a form submit to a URL in the format a URL router understands, e.g. http://example.com/page/home/language/english
Is it just going to be a case of having the form submit normally to something like http://example.com?page=home&language=english, writing a redirect script, which translates the $_GET variables into the URL syntax, and redirect again?
Or is there something I'm not thinking of?
How do heavier frameworks handle this sort of thing?