carlos22 / carddav2fb

:notebook: A command-line PHP script allowing to import CardDAV-based VCards (e.g. from 'owncloud') to a phonebook in a AVM FRITZ!Box
The Unlicense
86 stars 67 forks source link

Detect non cli calls and add basic html formatting #16

Closed DummerJunge closed 7 years ago

DummerJunge commented 7 years ago

Hello,

because I want to give users without shell access the opportunity to update the fritz!box. So I added a basic detection for non cli calls and some - NON STANDARD COMPLIANT - html formatting.

jens-maus commented 7 years ago

I am sorry, but what is your PR all about? I don't really get why you want to use carddav2fb in non-cli mode? What is the use case of that?

DummerJunge commented 7 years ago

Hallo, um Benutzern ohne ssh-Zugang die Aktualisierung zu erlauben, vielleicht zu speziell.

jens-maus commented 7 years ago

If you would provide a whole and complete web interface for that purpose I would understand and support it, but just enabling to call that php stuff from a webserver using a fake html header doesn't really help IMHO.

DummerJunge commented 7 years ago

Correct, unfortunately I do not have the php knowledge for this.