I hope I can explain this properly to get a solution.
I have an Intranet, which is secured using an .htaccess file
I have scripts in the Intranet that use .js includes and other includes for functions and such.
I am developing a Portal, that can access some the of the Intranet scripts with out being a part of the IP group specified in the .htaccess
In a script located in the portal directory, I do an include of the script in the Intranet directory.
The page displays properly, but once the submit button is clicked, it cannot find the script the form is calling, because it is not located in the portal directory. It also fails on the include .js and php function includes.
I understand why its failing but I am trying to figure out a way to get around this, and I am stumped at this point.
Any suggestions would be great.