cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting to Alfresco server via PHP

eron123
Champ in-the-making
Champ in-the-making
Maybe I'm missing something, but I can't find where the PHP service it connects to a server. It works with localhost so I would assume that has to be set somewhere.

The auth code just takes a username and password:

      
$authentication_service = new AuthenticationService();
$authentication_service->startSession("user", "password");
$auth_details = $authentication_service->getAuthenticationDetails();

Thanks
1 REPLY 1

lgr
Champ in-the-making
Champ in-the-making
Hi,

The readme.txt file included in the php-services package tells you to add an Alfresco section in your php.ini.
This sections set the alfresco.server string to your alfresco web server URL.

Laurent.