+ 1

How to uplpad PHP file loging and logout functionality?🤔

We knew that, if we want to use PHP, we have to install XAMPP apache. We will be using database with my XAMPP. but now problme is here, how to upload my PHP file( loging and logout Code) on server for public my PHP code. And our laptop have xampp which is have database saved username and password. How can we public my PHP code ? Soory for bad english :|

7th Feb 2021, 8:58 AM
Sajid Ali
Sajid Ali - avatar
4 ответов
+ 2
You don't need to store password and username.. You have to export your database from xampp, then go to your hosting provider, upload your database file.. https://www.google.com/amp/s/www.hostinger.com/tutorials/website/how-to-upload-your-website/amp/
7th Feb 2021, 9:33 AM
Steve Sajeev
Steve Sajeev - avatar
+ 1
You cannot make your php code or your website public in just through your pc.(Its possible, but costly, not good) You have to pay for a hosting and domain. Try going on to websites like godaddy, hostinger etc.. You will have to pay.. For free services, the one I like is infinity free. It may not have very good uptime or feature. But its free...
7th Feb 2021, 9:02 AM
Steve Sajeev
Steve Sajeev - avatar
0
Steve Sajeev How can we use my database online ? Which have store passeword and username
7th Feb 2021, 9:04 AM
Sajid Ali
Sajid Ali - avatar
0
You can use 000webhosting It gives you many features in free. It is very good web hosting if you wants to host websites from your own computer then you have to do port forwarding or you can use tunneling programs like NGROK.
7th Feb 2021, 1:30 PM
🌀 Shail Murtaza شعیل مرتضیٰ
🌀 Shail Murtaza شعیل مرتضیٰ - avatar