Changed CLI test to test from server.
This commit is contained in:
parent
833e81e6f3
commit
6a54ff1b9f
@ -13,7 +13,7 @@
|
||||
|
||||
// Prepare $detail to POST
|
||||
$body = "This is a PHP-CLI test issue.";
|
||||
$subject = "Test Issue";
|
||||
$subject = "Test Issue - From PHP CLI";
|
||||
|
||||
echo "Prepared POST data:\nSubject: $subject\nBody:$body";
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
);
|
||||
|
||||
// Prepare $detail to POST
|
||||
$body = "User Agent: " . $ua_str . "\n Server PHP Version: " . PHP_VERSION . "\n" . $detail;
|
||||
$body = "User Agent: " . $ua_str . "\n Server PHP Version: " . PHP_VERSION . "\n\n\n" . $detail;
|
||||
|
||||
// Prepare the request
|
||||
$rawData = array(
|
||||
|
Reference in New Issue
Block a user