summaryrefslogtreecommitdiffstats
path: root/php/Attic/examples/sample-sp/logout.php
diff options
context:
space:
mode:
authorChristophe Nowicki <cnowicki@easter-eggs.com>2004-09-15 08:25:45 +0000
committerChristophe Nowicki <cnowicki@easter-eggs.com>2004-09-15 08:25:45 +0000
commit881bb4d750dbb07cae3d4f8836a6c06ba465272e (patch)
tree12e1c5bd6450f9836b4a08bc0c3e684d423d6f25 /php/Attic/examples/sample-sp/logout.php
parent5ee3977db17a14a3ac81bfa7fb6266f342c50ac7 (diff)
New logging system based on Pear::Log package.
Every actions on the idp, sp will be logged inside the database, syslog a file.
Diffstat (limited to 'php/Attic/examples/sample-sp/logout.php')
-rw-r--r--php/Attic/examples/sample-sp/logout.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/php/Attic/examples/sample-sp/logout.php b/php/Attic/examples/sample-sp/logout.php
index 82a283f7..81937679 100644
--- a/php/Attic/examples/sample-sp/logout.php
+++ b/php/Attic/examples/sample-sp/logout.php
@@ -69,6 +69,8 @@
$url['path'], $url['host'], $url['port'],
strlen($logout->msgBody), $logout->msgBody);
+ die($soap);
+
# PHP 4.3.0 with OpenSSL support required
$fp = fsockopen("ssl://" . $url['host'], $url['port'], $errno, $errstr, 30) or die($errstr ($errno));
@@ -121,6 +123,6 @@
header("Request-URI: $url");
header("Content-Location: $url");
- header("Location: $url\r\n\r\n");
+ header("Location: $url\n\r\n");
exit;
?>