Get PHP form working with variable and htaccess -
i have little scheme set up, form sets variable, , variable echoed url in form, user knows username seeing info about.
http://pastie.org/6168045
at moment, htaccess redirect working, wanted url improve displaying /?name=x
this has stopped form working though, sets variable to this: http://dev.jaycraft.co/banned/test?name=test2
i need form set dev.jaycraft.co/banned/test2.
thanks, james
could please show .htaccess file think know mean should below
options +followsymlinks rewriteengine on rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^banned/([^\/]*)\/?$ http://dev.jaycraft.co/banned/test.php?name=$1 [l]
php forms apache .htaccess variables
No comments:
Post a Comment