You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I install your library, but it I could not use correctly.
sid response null
my code below,
<?php
include 'vendor/autoload.php';
use bsobbe\ithenticate\Ithenticate;
$ithenticate = new \bsobbe\ithenticate\Ithenticate("xxx", "xxx");
//The value in result variable is the document_id of the inserted document.
print_r($ithenticate);
$content=file_get_contents('./cloud-computing.txt', FILE_USE_INCLUDE_PATH);
$result = $ithenticate->submitDocument(
"Cloud Computing",
"Sobhan",
"Bagheri",
"cloud-computing.txt", //File name from the object of the uploaded temp file.
$content, //Document content fetched with php file_get_contents() function from the document file.
239091 //Folder number to store document (You can get folder number from last part of ithenticate panel URL).
);
?>
When I run php page, I'm getting response.
sid is null
[root@emy]# php index.php
XML-RPC: PhpXmlRpc\Helper\XMLParser::xmlrpc_ee: invalid value received in DATETIME: 2018-03-29T09:00:58Z
bsobbe\ithenticate\Ithenticate Object
(
[url:bsobbe\ithenticate\Ithenticate:private] => https://api.ithenticate.com/rpc
[username:bsobbe\ithenticate\Ithenticate:private] => xxx
[password:bsobbe\ithenticate\Ithenticate:private] => xxx
[sid:bsobbe\ithenticate\Ithenticate:private] =>
)
XML-RPC: PhpXmlRpc\Helper\XMLParser::xmlrpc_ee: invalid value received in DATETIME: 2018-03-29T09:00:58Z
directory list
[root@emy]# ll
total 20
-rw-r--r-- 1 root root 3635 Mar 29 11:45 cloud-computing.txt
-rw-r--r-- 1 root root 61 Mar 29 11:44 composer.json
-rw-r--r-- 1 root root 4218 Mar 29 11:44 composer.lock
-rw-r--r-- 1 root root 800 Mar 29 11:49 index.php
drwxr-xr-x 5 root root 73 Mar 29 11:44 vendor
[root@emy]# ll vendor/
total 4
-rw-r--r-- 1 root root 178 Mar 29 11:44 autoload.php
drwxr-xr-x 3 root root 25 Mar 29 11:44 bsobbe
drwxr-xr-x 2 root root 203 Mar 29 11:44 composer
drwxr-xr-x 3 root root 23 Mar 29 11:44 phpxmlrpc
composer.json
{
"require": {
"bsobbe/ithenticate": "*"
}
}
The text was updated successfully, but these errors were encountered:
Hi Sobhan,
I install your library, but it I could not use correctly.
sid response null
my code below,
When I run php page, I'm getting response.
sid is null
directory list
composer.json
The text was updated successfully, but these errors were encountered: