Yealink Forums
Simple PHP Phonebook - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: General topics (/forumdisplay.php?fid=15)
+--- Thread: Simple PHP Phonebook (/showthread.php?tid=1165)

Pages: 1 2 3 4


RE: Simple PHP Phonebook - bahunt - 06-26-2014 12:23 AM

(06-25-2014 11:38 PM)micheltenhove Wrote:  
(06-25-2014 11:36 PM)bahunt Wrote:  When I generate the phonebook.xml is not created? I have entries in the database and when I click generate takes me to a page with my entries.....

Are you trying it on an external webhost or do you have your own webserver?

own public server


RE: Simple PHP Phonebook - tsukraw - 06-27-2014 06:53 AM

Your public facing test site doesnt seem to be up. Any chance you could bring that back up again? Id like to take a look at it before i try installing Php and MySQL.

Thanks!


RE: Simple PHP Phonebook - Timothy Pang - 11-24-2014 12:49 PM

I had try to entry the http://remote.micheltenhove.nl/phonebook2/phonebook.xml but it cannot work. I am very insterest your work. Can teach me more the step to do it! Many Thanks!


RE: Simple PHP Phonebook - Michelth - 11-24-2014 07:10 PM

the demo site is down.. sorry for that.. Smile I will try to make it work again soon.. Smile

Timothy, I can help you out via teamviewer, can we schedule an appointment so that I can help you??


RE: Simple PHP Phonebook - Michelth - 02-09-2015 05:39 AM

The demo site is up again, together with the new design of the phonebook site that is also compatible with touch-screen and mobile browsers.

http://remote.micheltenhove.nl/phonebook-new/

Little Tut:

Install a PHP/MYSQL server (I Used Uniform Server)

Create a database with the a table called contact

Insert the following:
contact_id (INT11, Auto Increment, Primary Key)
name (VARCHAR)
phone (VARCHAR
cell (VARCHAR)


After the above steps everything should work, you can try
browsing to the folder with your webbrowser.

With the generate buttons you can generate a Phonebook for Yealink and Cisco. The output will be cisco.xml or yealink.xml (example: http://remote.micheltenhove.nl/phonebook-new/yealink.xml)


RE: Simple PHP Phonebook - WelshPaul - 02-09-2015 08:57 PM

Thanks for your efforts! Smile

I have taken the latest version from here: http://remote.micheltenhove.nl/phonebook-new/ and fixed the xml files output format and added a secure login to the script. I also added xml support for both Snom and Obihai devices. I would happily share the files but I don't want to step on the original authors toes.

Thanks again. Big Grin


RE: Simple PHP Phonebook - Michelth - 02-09-2015 10:01 PM

(02-09-2015 08:57 PM)WelshPaul Wrote:  Thanks for your efforts! Smile

I have taken the latest version from here: http://remote.micheltenhove.nl/phonebook-new/ and fixed the xml files output format and added a secure login to the script. I also added xml support for both Snom and Obihai devices. I would happily share the files but I don't want to step on the original authors toes.

Thanks again. Big Grin

Glad you like it! Smile

Can you send me the files that you altered yourself? I would like to add these to my script. Of course you kan keep the files that are written by someone else. I mainly use Cisco and Yealink.. Smile


RE: Simple PHP Phonebook - WelshPaul - 02-09-2015 11:26 PM

Hi,

I just need to finish one or two things and cleanup the code and I will happily send you everything in a zip file so you can add or tweak it as you wish.

For anyone interested in a demo https://www.servright.co.uk/phonebook/

Just login with the username: user and password: user

I am hoping to get this finished by tomorrow. Smile


RE: Simple PHP Phonebook - kellykevin - 02-13-2015 06:59 PM

Thanks a lot for sharing this valuable thread.Really useful


RE: Simple PHP Phonebook - WelshPaul - 02-13-2015 08:03 PM

I haven't worked on this much as I have been ill all week. Sad

My plan was to generate one XML file for use as a remote phone book (they all appear to use the same format) and then have an option to create a downloadable CSV file which can be used to upload your phone book to your phone's local directory. Wink

I also need to sort out the responsive outlay.