Update PHP files via code

Asked

Viewed 373 times

0

I have a php application on the online server and I have this same application installed on other machines and tablets, I would like to know a way so that I can update my application on the online server in case the php files, js, css, etc ... and consequently when other devices connect to the internet get these updated files to the local application installed on them. Does anyone know any way to accomplish this?

1 answer

-1

Machines and tablets have internet access?

And the database could be the same as the one hosted online?

If so, it would be better to direct the application’s access to the online address.

  • They are not required to have access to the internet, but will only update the application when accessing the internet. The database will be each one with its own because little information is recorded by the client in the case of devices. Having application only at an online address, is totally eliminated this option.

  • You could create a script to grab the files from FTP and move them to the local server just like I did in that code: link

Browser other questions tagged

You are not signed in. Login or sign up in order to post.