How web programs can make changes to a Linux applications? [closed] - php

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
How this web programming works?
For example, we have a Linux application running on a server i.e “bind”.
How do we create a Web GUI to manage that bind server?
For example, if we add a zone through the GUI, that zone should be registered in the bind’s config file. I just want to how stuff works. How connection works, How an apache server can make modifications to application’s config file?
Any hints would be really appreciated.

php can natively work with files on the file system so long as the user running service thread has permissions to the file you want to change. It's pretty easy to do.
$myFile = "/var/config.txt";
$fh = fopen($myFile,'w');
A better way for two applications to interact is through a database though. Having the web application writing to a config table that the console app reads and uses.

Related

How to develop web application after deployment in host? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 months ago.
Improve this question
recently I deployed my web application in host (hostinger.com), I have some edits I have to make. How can I use the code editor (PhpStorm) to make edit in the website ?
the project made using laravel framework
I'll not recommend, but in other-hand to gave you an answer, you should :
View->Tool Window->Remote Host
Create a new connection, base on connection type FTP, SFTP, FTPS, Etc..
Set host info and try to connect.
As you can see this option don't need any type of SSH access, and when you've got connected to host, you can see list of files at right side of IDE, and you can :
Browse
Modify them
And of-course change your files in local environment and put/upload or drag them into specified location.
You will need SSH access to your remote files
In phpstorm:
File >> Remote Deployment...
Though it is generally better practice to make your changes locally, rebuild and redeploy to the host.

Run exe file from server, render to client [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I would like to know if it's possible to run a executable file (through any technology; PHP, JS, HTML...) on the web server, and render the image on the client.
I would like to do that to not share the exe file, but just let the client see what how the programm looks like without having him to download it. Also, using that way it won't affect the client PC.
It is possible to run application on server side and display result of application to client [1]. However, if your application uses GUI it might be difficult and required complex solution.
What if you:
Display screenshots of application
Let user book some online meeting where you would present the application through skype with shared desktop
Have public server where application would be installed and user could request username/password to server and try it itself (think about security!)

Host PHP site on Dropbox [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I use DB on regular basis to host static sites for clients so that it makes easy to change anything and ask to client check. I use 'Public' folder to do that. Colloboration with client becomes super fast and easy.
Now I researched a lot on google on hosting php site there. But didn't found anything. I need to upload small changes to server to show client and the process is again and again.
What you guys recommend as a good solution?
Set up some automatic deployment to a server that your client can access. Use version control for your changes. When you merge into a specific branch, your script can automatically do the deployment for you.

What to use to make a cloud-powered app [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I've made an android app that let you save some data locally (for example: photos). Now i would like to create a web service that will automatically backup the data and later let the user to check them on a web application (eventually coded with PHP).
I know PHP for server side, and some python. Should i create a Rest-full api with php using a cms like described here or should i use Google Cloud Platform? Which is more convenient?
The application should:
Authenticate the user,
Automatically backup the data,
Let the user
access the data on a web application
Personally I find Parse to be really useful, powerful and affordable. In the scope of developing apps for local businesses we still haven't paid a dime and it has saved us a ton of development time. www.parse.com

How to use both GIT and FTP for deployment [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'd like to deploy using git, but some members in the team doesn't prefer git and they would like to be able to use ftp, I want us all to be able to access the files and make change. Is there anyway this can happen?
Keep an update repository in a ftp server
then use this repository to deploy via ftp
Using a synchronizer? and exclude git specific files by filter. http://sourceforge.net/projects/freefilesync/
You could map the ftp folder.
NetDrive by Novell has a GUI interface for setting up FTP servers as drives on your computer.
Set up a test server on which people can go crazy if they want to.
Require everyone to commit into a central repository. Seriously, this is a requirement.
Declare a handful of guys who know what they're doing as "deploy masters" and allow only them to touch the production server, through a clearly defined automated deploy mechanism (git can be fine here).
Hack off anyone's hands who still messes directly with production via FTP.

Categories