I am trying to post form in core php and custom .htaccess file. When I am posting my form, it redirects to the posted page but didn't act with the php functions.
All other pages are working well dynamically, only form submission has an issue.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.werepairuae.com
RewriteRule (.*) http://werepairuae.com/$1 [R=301,L]
#form submit------------------
#RewriteRule ^([a-zA-Z0-9-/]+).php$ prob-page-dtls_post.php [QSA,L]
#RewriteRule ^([a-zA-Z0-9-/]+).php/$ prob-page-dtls_post.php [QSA,L]
RewriteRule ^([a-zA-Z0-9-/]+).php/$ prob-page-dtls_post.php [QSA,L]
#-----------------------------
Here is my code sample, how can I fix this issue?