mysql - Using URL contents to send data(post or get) to a PHP page -


OK, I am creating a questionnaire application that is managed / managed by the same user. There, they can create more than one questionnaire, each set of different names and settings (registered users, questions, data etc.). At present, various tests are used by non-administrative users (test takers) by visiting /index.php?t=Questionnaire%20Name. Obviously, this is not the best interface to give to users. I would like the users to go to / queryonnaireName to use that test. I think it can be done with rewriting, but I do not know how to use it or where to start it. I have coded the whole thing in JS, PHP, and MySQL. Any help is appreciated Thanks.

Here's an example you can go to:

  option + Rewrite on follow-up link:% {REQUEST_FILENAME} on the integration revision! -f Rewrite Convert% {REQUEST_FILENAME}! -d Recrite Array ^^ (. *) $ Index.php? $ 1  

This file will be sent to index.php as .htaccess index.php in the same directory as you now call, And you can catch the URL with the $ _ server ['QUERY_STRING'] . So you are free to do anything with it.

Alternatively, you are editorial.fp. To save from editing in:

  Option + rewrite the link rewriteindex% rewriting on the rewrite! -f Recovery code% {REQUEST_FILENAME}! -d Rivetrium ^ (. *) $ Index.php? T = $ 1  

t = see index.php? After now everything can be obtained from $ _GET ['t'] , but I can not guarantee it because I have not used this method because I I'm not using the method. Check it out and see if it works for you.

Edit

To allow access to physical directories, edit.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -