Anonymous - 2003-05-03

Hello,

I'm having trouble regarding using this module POST forms data.

I use php as the language in the script to validate logins. The problem is when the page contains post data and since the .htaccess is proccess always, the post data is lost.

Any ideas on how to fix this?

my validate script is the following:

<?
if ($_SESSION['ALARLogin']->isLogin) {
  header ("auth-script:allow");
} else {
  if (strncmp($_SERVER['REMOTE_ADDR'],"192.168.",8)==0) {
      header ("auth-script:allow");
  } else {
      header ("auth-script:deny");
      header ("auth-script-custom-response:https://" . $_SERVER['SERVER_NAME'] . "/login/?redir=" . $_SERVER['REQUEST_URI']);
  }
}
?>