trying to use RemoteProtocol from php
rgr
Joined: 2007-05-22
Posts: 5 |
![]() |
I am bloddy new to gallery, but I try to implement a simple client which uses the RemoteProtocol. I like to use php. But I got stuck with the authentification. Code-Snipet: require_once("HTTP/Request.php"); $connection = &new HTTP_Request($url,$param); $return=explode("\n",$return); As far as I understood, this should login and then give me the list of albumbs the admin is allowed to write to (which are all) #__GR2PROTO__ ----- Obviously there is something wrong with the authentification, Could someone tell me what goes wrong there? Any help, including links to manuals appreciated. Also code snipets of course. System: |
|
rgr
Joined: 2007-05-22
Posts: 5 |
![]() |
Noone an idea? Is the question to simple or to difficult? Or wrong forum? |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
there are already a command line clients: e.g. -------------- |
|
rgr
Joined: 2007-05-22
Posts: 5 |
![]() |
valiant wrote:
there are already a command line clients: I saw this and wondered, why there is noone in php. valiant wrote:
e.g. I studied it. I am not the perl guy, but it seems to me that it simply does the auth-Token into the post variable (not into get, like documented). I also tried this already, so I still understand what I am doing wrong. |
|