For testing purposes.Patrick S wrote:Hi. So far i have to access to such a server. So it would ve great if you can help me out with such a script.
Thanks a lot.
Put the PHP API from the link on your server.
Open a textfile editor and put the contents of the code I posted above in it.
Change the username, pasword, cameraname.
Save and change the extension to .php.
Then put it on your server.
Open a webbrowser and call HTTP://myserver/myfilename.php
The floodlight should turn on.
If this works then let us take this to pm to make a proper script with pasword encryption for more security.