So here is my dilemma.
http://server/twit/pages/confirm.php?email=no@no.com&confirm_code=12345
works great and I get the email I expect
with the REWRITE
RewriteEngine On
RewriteRule ^confirm/(.*)/(.*)$ confirm.php?email=$1&confirm_code=$2 [L]
when I sent it
http://server/twit/pages/confirm/no@no.com/12345
I acutally get 5 emails from the page...
The Correct Email is
There was a problem with the registration of EMAIL: no@no.com with confirm code of 12345
The incorrect with the mod rewrite I get 5 separate emails
There was a problem with the registration of EMAIL: no@no.com with confirm code of 12345
There was a problem with the registration of EMAIL: functions/js with confirm code of prototype.js
There was a problem with the registration of EMAIL: css with confirm code of main.css
There was a problem with the registration of EMAIL: functions/js with confirm code of main_site.js
the body of the email which is in a loop is
$mymail -> Body = "There was a problem with the registration of EMAIL: $_GET[email] with confirm code of $_GET[confirm_code]";
so somehow there are multiple GET[email] and GET[confirm_codes] going into the loop.
I have no idea why this is happening it apears that the mod_rewrite is correct.
Any help appreciated.