Search found 4 matches
- Wed Jul 08, 2009 7:01 pm
- Forum: Prowl
- Topic: API Changes
- Replies: 48
- Views: 190281
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...
- Wed Jul 08, 2009 2:44 pm
- Forum: Prowl
- Topic: API Changes
- Replies: 48
- Views: 190281
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 

- Wed Jul 08, 2009 2:18 pm
- Forum: Prowl
- Topic: API Changes
- Replies: 48
- Views: 190281
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...
- Wed Jul 08, 2009 1:14 pm
- Forum: Prowl
- Topic: API Changes
- Replies: 48
- Views: 190281
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(...