Thank you so much my friend.
I guess I wasn't thinking about browser redirect at all. I had some trouble getting your version to work on my server, so here is what I did instead:
There is a 1 second delay until the user is redirected into the restricted area, but at least it works with browser redirect.
Again, thank you so much for the help.
Quote:
|
Originally Posted by codefighter
Hi Digioz
I've got just the same problem.
Here my workaround:
The html-page with the form invokes a php-page that echos a html-page with following <body>-tag <body onload='href=\"http://$username:$password@www.domain.com/restricted_path/file.html\"'>
The body of the page has no content.
So the trick is loading a blank page which redirects to the originally targeted page in the .htaccess-restricted directory. Not very elegant but it works with M$hit IE too.
Hope you got it.
Best regards
codefighter
|