Sunday, 15 March 2015

php - Is "Mumble" installed or not -



php - Is "Mumble" installed or not -

i have link point on "mumble url" "mumble://mumble-4.verygames.n...". when user have mumble, programm launch , request login , password connect him server, , that's want. problem when user doesn't have mumble installed,.. url points , user error page. how can check if mumble installed or not ?

i've tried file_exists , fopen php scripts fact have no thought of how check it.

any idea, answer? lot.

mumble acts custom protocol handler on user's system. php not way find out if installed on system. need maintain in mind php server side technology. file_exists() @ server's hard drive.

javascript way test on client side. unfortunately, there no easy, cross-browser way it. next 2 stackoverflow question explain quite well:

how check if custom protocol supported how observe browser's protocol handlers?

looking around, there effort @ creating cross-browser detection script, maybe worth purpose: http://www.rajeshsegu.com/2012/09/browser-detect-custom-protocols/

php checkout

No comments:

Post a Comment