Search found 5 matches
- Fri Mar 17, 2023 9:45 am
- Forum: Windows
- Topic: PHP extension doesn't work
- Replies: 5
- Views: 8436
PHP extension doesn't work
I created a PHP extension for Telldus, based on the code from developer.telldus.se (/trunk/bindings/php). My PHP directory is C:\php and the extension folder is C:\php\ext, the php.ini was edited to load the extension. The extension loads fine and I can call the functions without error. But nothing ...
- Fri Mar 17, 2023 9:45 am
- Forum: Windows
- Topic: Native HID information
- Replies: 7
- Views: 5423
Re: Native HID information
Någon mer information om när version 2.1 kommer?
- Fri Mar 17, 2023 9:45 am
- Forum: Windows
- Topic: PHP extension doesn't work
- Replies: 5
- Views: 8436
Re: PHP extension doesn't work
Found it :) In the registry I had to find HKLM\Software\Telldus\Devices and set SharedDevices to 1. I had to redefine my devices in TelldusCenter (had only 2 devices so far, so that didn't matter). Now, I have a PHP extension that runs in a PHP server from where I can control the devices, without th...
- Fri Mar 17, 2023 9:45 am
- Forum: Windows
- Topic: PHP extension doesn't work
- Replies: 5
- Views: 8436
Re: PHP extension doesn't work
I started with the " My first PHP extension " from Risman Adnan, then removed the sample methods and replaced it with the code from developer.telldus.se (/trunk/bindings/php), did this for both the header (.h) and code (.cpp) file. Then compiled the whole, and copied the dll to the PHP ext...
- Fri Mar 17, 2023 9:45 am
- Forum: Windows
- Topic: PHP extension doesn't work
- Replies: 5
- Views: 8436
Re: PHP extension doesn't work
I guess so yes, since I use the telldus-core that I downloaded about a week ago. It doesn't matter though, I started with the methods tdTurnOn and tdTurnOff and got those to work now. I'll extend it later with more (probably all supported) methods. But I just got to know that the extension must be c...