I am submitting a form on the url http://example.com/test.php and this form references itself so the url should stay when the form is submitted the same. Except when the form is submitted, the url becomes example.com/test.php/test.php 
How does my php file become a folder for another php file?? I checked my files and I do not have any folders called test.php.
Thanks to anyone that can help
 
     
     
    