I have a file 'A' in which I have a form. I want to submit the form to the same file in which the form is . This file 'A' is called by many scripts in different folders and hence I cannot give a particular action path to it.
I tried using $SCRIPT_NAME and $SCRIPT_FILENAME but both gave me internal errors and illegal operations performed by PHP ..... Any way to solve this with javascript if not PHP
Thanks