skippy111 Posted July 27, 2008 Share Posted July 27, 2008 here is the script I use and it always worked fine. It still works but I can no longer pass data to it in the url. lets say I named it test.php I used to be able to do site.com/test.php?data=nnnnn The email I would recieve after visiting the php would include data=nnnnn Its like the script cant allow get request data. It always has. Has there been a change in PHP to not allow it anymore ? <?php $email = "[email protected]"; $continue = "http://www.yahoo.com"; $subject = "FormToEmail Comments"; $message = "From: $name\nEmail address: $formemail\n\n$comments\n\n-\nA Friend in Need is a Friend indeed \n-------"; $headers = "From: " . $formemail . "\n" . "Return-Path: " . $formemail . "\n" . "Reply-To: " . $formemail . "\n". $_SERVER['REMOTE_ADDR']."\n"; mail($email,$subject,$message,$headers); ?> Link to comment https://forums.phpfreaks.com/topic/116801-php-mail-help/ Share on other sites More sharing options...
ratcateme Posted July 27, 2008 Share Posted July 27, 2008 that script has nowhere to include $_GET data Scott Link to comment https://forums.phpfreaks.com/topic/116801-php-mail-help/#findComment-600656 Share on other sites More sharing options...
skippy111 Posted July 27, 2008 Author Share Posted July 27, 2008 it never did but always worked up until a month or so ago Link to comment https://forums.phpfreaks.com/topic/116801-php-mail-help/#findComment-600659 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.