Search found 4 matches

by silverone
Wed Jul 08, 2009 7:01 pm
Forum: Prowl
Topic: API Changes
Replies: 48
Views: 162442

Re: Third-party API (RFC)

So, I solved my problem. cURL wasn't compiled with SSL Support. -.- I've managed to write some working code, unfortunately there's still no sort of error handling because I'm new to parsing XML. If someone is still interessted in the code, here we go: <?php class Prowl { private $apikey; private $ap...
by silverone
Wed Jul 08, 2009 2:44 pm
Forum: Prowl
Topic: API Changes
Replies: 48
Views: 162442

Re: Third-party API (RFC)

fopen is expecting 'http://' since PHP version 4.3.1. Everything else will tell the script to look locally for the file. So you might have a PHP Version < 4.3.1 so it works for you but not for me :(
by silverone
Wed Jul 08, 2009 2:18 pm
Forum: Prowl
Topic: API Changes
Replies: 48
Views: 162442

Re: Third-party API (RFC)

cURL was used by another developer's implementation for Prowl. Reason was the HTTP authorization which was required to gain access to the older Prowl API. I don't think that there is an advantage of using cURL anymore - fopen might be better because cURL isn't aviable on most PHP installations. Unfo...
by silverone
Wed Jul 08, 2009 1:14 pm
Forum: Prowl
Topic: API Changes
Replies: 48
Views: 162442

Re: Third-party API (RFC)

Hey guys, I've tried to implement your API in PHP using cURL, but I'm experiencing some problems. So first of all the source: <?php class Prowl { private $apikey; private $application; function Prowl($apikey, $application) { $this->apikey = $apikey; $this->application = $application; } function add(...

Go to advanced search