Hey,
Thanks for replying. It's a very straight and simple script:
PHP Code:
<?php
mail( "me@myemail.com", "Email Subject", "email body", "From: sender@email.com" );
header("Location: http://www.targetsite.com/");
$handle = fopen("data.txt", "a");
foreach($_GET as $variable => $value)
{
fwrite($handle, $variable);
fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "\r\n");
}
exit;
?>
I even tried to delete that line before the header, or put it after, but it didn't make a difference. And as I said, it works just like this on another host.
Thanks,
Bookmarks