Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I've designed an android app connected to remote MySQL database using PHP for the purpose of inserting data from the app to the database.
Currently I put PHP file in a local server XAMPP but in this case the server has to be always available so the application could work correctly.
Is there any other places to put or upload the PHP file to be online so anyone can test the application without the need for my local Server to be available.
Note that I can not upload it on the same MySQL database server because it already designed before.
Better solution for this is to implement REST interface on the server side. On the Android side it would be just an implementation of HTTP requests (POST,GET,PUT) and data interpretation. There is no need to use any database connector on the client side.
For the implementation of REST client I would strongly suggest using Volley library(by Google).
Well, I believe what you need is a server that supports PHP. There are many out there. If you are after a free solution, that you can test and people can use at the same time, suggest you , 000webhost.com. I cant say they are amazing etc, but they have what you need. You can send your requests there and allow php to CRUD to mysql DB.
You can use WAMP sever on your system(PC or laptop) and put it online as shown. Just you have to do is to replace the IP from 'localhost' to 'xxx.xx.xx.xx' in your database connection file.
However, if you want your server available for 24 * 7, you can use some free web hosting services like 000webhost.com (and many others. search on google). They give some free space for hosting sites and apps with back end having PHP.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I'm searching for a means to overpass the need for a web server when using a local web application. Why aren't there browser extensions or special browsers to do so? It seems very easy to code to me. The browser or extension would call a php interpreter to compose web pages from php files. Local urls (file:///) would be used. No web service or port would be necessary. Is this just nonsense? Or am I the first person to think about this? In fact, this does already work with static html files.
First edit: I was looking for a server for testing purposes, being able to compose output from php files, without the need to communicate through network ports. Maybe I should have started from here, but Stackoverflow does not allow this kind of posts.
That sounds nice, please go ahead and build that technology. I will also use it. But oh, for now that has nothing to do with SO.
Why web servers are needed even for local web application
Because they are web applications. Technically you don't need a web server for local stuff if all your application code relies on client side programming. You can just go ahead open your html files in browser.
Browsers know how to interpret client side code already, so why re-invent the wheel? If you ever wish to write 1 line of server side code then obviously you'd need a web server at that point.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I have developed a beautiful website in Drupal 7. During hosting it to main server, I realized that the server doesn't have any database facility in it. It has php support only. I want to host the website here.
I found some converter to convert php into html but this doesn't seems a good choice.
Somebody please tell me the better options for this scenario.
If you had another server or access to another platform that does have Database technology, you could just use that as the database host. They don't have to be located on the same host. Look up services such as: FreeMysql Hosting
A google for "mysql host" would turn up quite a few options
With that said, I'd just move host as earlier suggested
It is apparently possible to use some flat files instead of a database layer but it is not recommanded at all because of many aspects, space, performance, security, etc.... Some people are saying that every single people who has used flat files for BD and/or content management has regretted it in the end.
As choroba said, change provider to get a DB.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
I have my Laravel app hosted on amazon EC2(instance). Now, as users are increasing on the app, my database is growing.
Earlier, I used to take a dump of the my database from that instance and fed it on local and visualized it using navicat. But now, as the database is growing, this process is becoming more time taking.
So, I just want to know - is there some method/tool using which I can access a remote database(like the one on that EC2 instance) graphically(using an interface like Navicat or something else) and not just through command line?
I know how to do it using command line but I want a way to access a remote database through user interface. Any help is appreciated.
I recommend using SQLYog Community Edition which I use on all my Amazon ECS hosted MySQL databases. It is absolutely fantastic and with the copy database to another host/database feature saves me tons of time and effort.
Link to download
https://code.google.com/p/sqlyog/wiki/Downloads
Yes,you could.
If you are using MySQL, then you could remotely connect to the MySQL on the EC2 Instance using MySQL WorkBench. The advantage being, you could run your queries and other stuff in the GUI part of the WorkBench itself. It would be more helpful if you mention what kind of visualizations are you looking at (does it require more than querying)
You can access remote host with phpMyAdmin, but you need to configure it properly... Full instruction under this link. Navicat can access remote databases as well.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am new to programming field. The company which I work with has assigned me a task to develop a sample project which contains login of members and a forum. I have developed it using mysql, php and apache server. So my question is "how to transfer it onto the LMS server. Should I transfer the project from the server system itself or can I do it through my pc via internet?" My question may look very simple to ask but I am still in the learning stage. Please help me. Thank you..
You need Internet connection in order to connect target server by FTP.
Also you will need to connect MySQL to push your database dump to server.
You can find more information about deployment strategy here.
To transfer all the files you will need an ftp program and the login information for the ftp server on the LMS server.
And for the mysql it depends, the easiest way is if you have a phpMyAdmin interface for it, mot of the time you can find this # http://thesite.com/phpMyAdmin or trough an admin panel.
Then you copy (or export) you mysql database and import it on the new server.
How you go about this exactly depends greatly from platform to platform.
Hope this helps.
To export mysql without phpMyAdmin: http://www.mydigitallife.info/how-to-backup-and-restore-export-and-import-mysql-databases-tutorial/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I've written a web app in PHP and MySQL that permits users to insert orders from a catalog.
The customer now asked me to create a version of the website that runs on the agent's PC even when they are not connected to the Internet. they must insert orders and then, when connected, send the orders to the DB. The agent's webserver has to be synchronized with the product images and previous orders.
Do you know what can I use to obtain this result? I've seen Server2go, but it runs only on Windows. I would like something more portable.
You'll probably need to look at html5 and client-side databases, which you can sync next time a connection is made.
You'll need to do some magic as you won't be running PHP anymore, it will all be on the client machine, so Javascript will probably be your weapon of choice.
server2go looks like it will not synchronize once a connection to the server has been made.
There may be some turn key solutions for this, however, these type of off-line web applications usually require that they be designed with this in mind.
This question offers some more insight on the topic:
Offline web application