You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Zephyr

Professional

  • "Zephyr" started this thread

Posts: 1,003

Location: Netherlands

Occupation: Web developer

  • Send private message

1

Saturday, January 9th 2010, 11:09pm

Auto update

I'm wondering if this is possible and if so, how?

My customers buy a tour from me. I give them a folder with all the files and they upload it. Now I suddenly discovered a bug that might cause the tour to crash in one of my plugins. I have to mail all the customers (to uphold my companies good name) and send them an updated plugin. Same case if a new version of krpano comes out.

Do scripts exist (either in php or actionscript) that can check my server if a newer version exist, download it (putting it on their server) and then refresh the page? Kinda like how express install and some AIR apps works.

2

Monday, January 11th 2010, 10:29am

Hi,

when you want to put something on a server (like a newer version),
you need to do that on the server side (e.g. via php),

e.g. serve the pano page on your client pc via php,
and on each view (or just once a day) call back to your server
and look if there is something new, and if, download it via php and install it,

best regards,
Klaus

joekki

Trainee

Posts: 78

Location: Turku, Finland

Occupation: Panoramic photographer and web site builder

  • Send private message

3

Monday, January 11th 2010, 2:43pm

Or host your panoramas (like i do) and offer them a link, iframe or embedding with JS. Then the modifications work in real time.