From 4b46ec8130a084b965d8e271ddf86bc477c3cdc5 Mon Sep 17 00:00:00 2001 From: "andreassolberg@gmail.com" Date: Fri, 9 Jan 2009 08:40:59 +0000 Subject: [PATCH] removed deprecated info file about how to send email reports. now builtin to simplesamlphp git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@1113 44740490-163a-0410-bde0-09ae8108e29a --- extra/receiveinfo.php | 73 ------------------------------------------- 1 file changed, 73 deletions(-) delete mode 100644 extra/receiveinfo.php diff --git a/extra/receiveinfo.php b/extra/receiveinfo.php deleted file mode 100644 index 2f4319b8..00000000 --- a/extra/receiveinfo.php +++ /dev/null @@ -1,73 +0,0 @@ - -

Thanks for sending information to us from simpleSAMLphp.

- -

If you sent us metadata and expect us to add the metadata to our test enviornment, you also would need to send us an email to moria-support@uninett.no to explain what is the purpose of the testing, and tell us who you are :).

- - -'); - $headers = 'From: ' . $from . "\r\n" . 'X-Mailer: PHP/' . phpversion(); - - if ($_POST['action'] == 'metadata') { - - echo '

We have received your metadata.'; - $subject = 'SAML 2.0 Metadata from '. $_POST['email']; - $message = 'Someone just used simpleSAMLphp to send metadata to Feide. Here is the metadata: -------- BEGIN SAML 2.0 METADATA ---------- -' . html_entity_decode(base64_decode(urldecode($_POST['metadata']))) . ' -------- END SAML 2.0 METADATA ---------- - - -Default IdP: ' . $_POST['defaultidp'] . ' -simpleSAMLphp version: ' . $_POST['version'] . ' -Technical contact at server: ' . $_POST['techemail'] . ' - -Sent using simpleSAMLphp'; - -} elseif($_POST['action'] == 'error') { - - echo '

We have received your error report.'; - - $subject = 'Error report from '. $_POST['email']; - $message = 'Someone just used simpleSAMLphp to send an error message to Feide. Here is the exception: ------------------- -Exception message: ' . html_entity_decode(base64_decode(urldecode($_POST['exceptionmsg']))) . ' ------------------- -Exception stacktrace: -' . html_entity_decode(base64_decode(urldecode($_POST['exceptiontrace']))) . ' ------------------- -Description from user: -' . $_POST['text'] . ' - -TrackID [' . $_POST['trackid'] . '] - -simpleSAMLphp version: ' . $_POST['version'] . ' -Technical contact at server: ' . $_POST['techemail'] . ' - -Sent using simpleSAMLphp'; - -} - - -mail($to, $subject, $message, $headers); -} - -?>