cancel
Showing results for 
Search instead for 
Did you mean: 

Upload content using php api

testingit
Champ in-the-making
Champ in-the-making
Hi,

I couldn't find how can i upload file using the php API ?

can you please help ?

10x
12 REPLIES 12

dwilson
Champ in-the-making
Champ in-the-making
Thanks for posting the examples here guys-  It'd be great if Roy from Alfresco could update the PHP wiki pages as he promised last year…  Smiley Happy

vq
Champ in-the-making
Champ in-the-making
hi,
i have try this code, but i found this error.
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost:9090/alfresco/api/AuthenticationService?wsdl' : failed to load external entity "http://localhost:9090/alfresco/api/AuthenticationService?wsdl" in D:\xampp\htdocs\phpclient\alfresco-php-library\Alfresco\Service\WebService\AlfrescoWebService.php:36 Stack trace: #0 D:\xampp\htdocs\phpclient\alfresco-php-library\Alfresco\Service\WebService\AlfrescoWebService.php(36): SoapClient->SoapClient('http://localhos…', Array) #1 D:\xampp\htdocs\phpclient\alfresco-php-library\Alfresco\Service\WebService\WebServiceFactory.php(29): AlfrescoWebService->__construct('http://localhos…', Array) #2 D:\xampp\htdocs\phpclient\alfresco-php-library\Alfresco\Service\Repository.php(63): WebServiceFactory::getAuthenticationService('http://localhos…') #3 D:\xampp\htdocs\phpclient\alfrescodocument.php(25): Repository->authenticate('admin', 'admin') #4 {main} thrown in D:\xampp\htdocs\phpclient\alfresco-php-library\Alfresco\Service\WebService\AlfrescoWebService.php on line 36

can anyone give some solution?
thank

kaynezhang
World-Class Innovator
World-Class Innovator