Using Php and Sql server in an android application [closed] - php

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 5 years ago.
Improve this question
Sorry if i am being ignorant but i started reading and learning about php and sql and all the sites i've checked said that php is designed for web.
I want to create a db for my android application, Can anyone clear my confusion and tell me, should i learn php in order to create a database server for my android application?
Thx.

PHP has absolutely nothing to do with the database layer. Your database is a completely stand alone software which is not written in PHP or has anything to do with the PHP language.
Php is designed for web
No PHP can be used to write CLI programs its not just for the web.
You can use any database you like, SQL Server, MySql, Marner DB, Postgres, SQLite, Oracle DB, Mongo DB, Couch DB to name a few. Pick which everyone suites your needs the most and use that.

Related

What source control is available for PHP / SQL projects [closed]

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 4 years ago.
Improve this question
I am working with a PHP web application that has a MS SQL back end. The development copy is hosted on a Windows server.
There will be a few developers joining me on the project, and I need some sort of source control so that (obviously) we don't over-write each other's work. But since a PHP/SQL project has to be run from the server, we can't each work with local copies and then push the updates to the server...we all have to be working on the server itself.
So I have three questions:
My initial thought was a simple check-in, check-out system, which should be ok for our small team of 3-4 programmers. So, what is (currently) a good program for that?
I also thought about each developer having his own folder in the wwwroot folder, his own full copy of the program, then pushing updates to a master copy, also on the same server. Is there a good program for doing that (file merging and conflict management)?
Which method do you think would be better?
Run servers all your local machines. There’s lots of ways of doing this. If you’re using Laravel, it has a server built in php artsian serve. PHP 7 also has its own server built in.
Use a version control system like Git. You can learn here
Do this as soon as you can!
Sadly however, this question is not a suitable Stack Overflow question, so will be likely be closed soon. Good luck!

Where to get the MySql UDF that has sql_exec? [closed]

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 4 years ago.
Improve this question
I have found a couple pages that have broken links to this UDF, but I can't find any valid links.
I have read a couple of posts that say it is on Github, but when I search Github I don't see it.
What I am trying to do is run a PHP script from a MySQL script. I have seen on many sites that the simple way to do this is to use sql_exec.
Thanks in advance for any help on this topic.
The Github MySQL UDF repository is here.
The one that will let you make OS calls is named lib_mysqludf_sys.
I would suggest you consider a way to accomplish what you want that does not require use of a UDF. You could for example have a polling routine that queries a queue table and runs your external program using the data from the queue, or even a queue by itself, as it's not clear from your question what the connection between data in mysql and this external php script is.

Running Drupal 7 website without database [closed]

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.

Offline version of a web site [closed]

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

Remote SQLite manager [closed]

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
Does someone know of a Sqlite manager that I can put on my site, so that I can access it over the web and create/edit SQlite databases. I guess something like phpMyAdmin for MySQL.
try http://www.sqlitemanager.org/
It supports sqlite version 2 and 3 (version 1.2)
try https://www.phpliteadmin.org
This is the best web-based SQLite manager I've used so far. It is very easy to install and can do basically anything you would ever want to do with a SQLite database. It supports both SQLite2 and SQLite3. It even says on its web site that its goal is to be the SQLite equivalent of phpMyAdmin.
phpLiteAdmin is a single php file and it is a php-based, web-based phpMyAdmin-like SQLite manager:
http://www.sqlite.org/cvstrac/wiki?p=ManagementTools

Categories