mbenson111
03-09-2009, 07:31 PM
Hey guys,
I have a password protected directory for all of my php includes. That's fine, as php can still get at the files it needs.
I am wondering if there is a way to protect a directory, and allow javascript/Ajax to get in. I have some php scripts called through Ajax var url... calls that pass form variables for processing. I tried using the password protection through the file manager at Bluehost, but when the javascript calls the php file, it prompts for the login.
Any ideas or other suggestions would be greatly appreciated.
-Mike
I have a password protected directory for all of my php includes. That's fine, as php can still get at the files it needs.
I am wondering if there is a way to protect a directory, and allow javascript/Ajax to get in. I have some php scripts called through Ajax var url... calls that pass form variables for processing. I tried using the password protection through the file manager at Bluehost, but when the javascript calls the php file, it prompts for the login.
Any ideas or other suggestions would be greatly appreciated.
-Mike