![]() |
Re: N900 + lighttpd + PHP + web interface to control N900
Hi, thanks for the idea and it's a fantastic setup but I've got a couple of problems I can't solve so any help would be appreciated :)
I've edited the conf to enable sql now, made it all executable so I can see my web server locally and via dyndns but I've got 3 problems- 1) I can retrieve my calls list but not my message list 2)I can't initiate a phone call, I just get timed out but if I use phone-control on the device itself it works 3)I can't send sms messages from the device, I get timed out again... I can use the other commands like launching the browser and sending a message to pop up on the phone and I know sql is working now so I'm a bit stumped! |
Re: N900 + lighttpd + PHP + web interface to control N900
Quote:
I ran an sql query on database and my sms messages show as event_type_id 11 and not 7 which was in the php script from the zip file...not quite sure why it's different but at least I can see my message list now! Still working on the other two but if anyone has any ideas they'd be appreciated a lot |
Re: N900 + lighttpd + PHP + web interface to control N900
Quote:
For some reason the phone call script wasn't picking up the $command variable properly so I concatenated it all into a new string and ran with that. The sms problem was partly due to it looking at the incrrect variable in from the page for the message and also looking at /var/www/html for the sens_sms.py when I had installed to htdocs! Hope this all helps someone and this is very cool |
Re: N900 + lighttpd + PHP + web interface to control N900
Have added an option to upload by adding the following to the commands.html
Code:
<form enctype="multipart/form-data" action="uploader.php" method="POST"> Code:
<?php |
All times are GMT. The time now is 10:18. |
vBulletin® Version 3.8.8