I have this page which is a big form and its posting to it self. The problem is that when you click on the "Submit Application" button on the bottom the error
Forbidden
You don't have permission to access /lease.php on this server.
In my .htaccess I have lots of stuff but i think this is causing the problem which i cant remove because I need it
DirectorySlash Off
# RewriteRule ^cafeteria-pos/index\.php$ - [L]
# RewriteRule ^cafeteria-pos/?$ /cafeteria-pos/index.php [QSA,NC,L]
RewriteCond %{REQUEST_FILENAME}/index\.php -f
RewriteRule ^(.+)$ /$1/index.php [NC,QSA,L]
RewriteEngine on
Options +FollowSymlinks -Indexes
here is my declaration of the php form
<form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post" id="app_form" name="app_form" onsubmit="return checkForm();">
its the same url...what is going on...any ideas