Anonymous Asked in Cars &Transportation · 2 weeks ago

Can PHP work without database?

PHP as such has no problems running without sql database backend, but that is not necessarily true about PHP applications. The application you are trying to run seems to be tightly dependent on sql database, so you won't be able to run it. 10 июл. 2014 г.


Is it possible to run PHP without server?

You can make a PHP script to run it without any server or browser. You only need the PHP parser to use it this way. This type of usage is ideal for scripts regularly executed using cron (on *nix or Linux) or Task Scheduler (on Windows). These scripts can also be used for simple text processing tasks.

How can we store data in PHP without database?

You can use the php function mail($to, $subject, $body) to send the email address to your personal email. The data will not be readable from your script, but for your use case this might be ok. Show activity on this post.

Can you use PHP without MySQL?

In terms of a PHP application, it's not possible to interact with MySQL through JavaScript because JavaScript is executed client side i.e in the browser, it doesn't have access to anything on the server it is being served from.

Does PHP require SQL?

While PHP often does mediate between SQL and HTML its is capable of doing many more things and does not require SQL at all. In your scenario; HTML is how you view data, MySQL is how you store data, PHP is how you control the process of getting data from MySQL to HTML.

Related Questions

Relevance
Write us your question, the answer will be received in 24 hours