How can i access a database hosted on bluehost/godaddy/hostinger from xampp installation [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 2 years ago.
Improve this question
I have a PHP website used for research purposes and users from 6 countries. This site needs to CRON data from different websites and store to database. currently I have hosted it on GoDaddy. right now when I try to CRON, its gives me 503 error. Can I CRON from my local installation of XAMPP and save those data to database hosted on GoDaddy or any other hosting provider? can someone help me on this by telling what I should do?

You should follow documentation here https://www.godaddy.com/help/connect-remotely-to-a-mysql-database-in-my-linux-hosting-account-16103

Related

Why PHP built-in web server should not be used on a public network? [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 2 years ago.
Improve this question
I've been reading about PHP document in https://www.php.net/manual/en/features.commandline.webserver.php and was wondering why built-in web server should not be used on a public network?
Is it because of the security issues?
If yes, is there any example or details about this?
From the documentation:
The web server runs only one single-threaded process, so PHP
applications will stall if a request is blocked.
Also, it won't restart by itself if for a reason or another the process crashes.
In a pinch, it's a good tool, but it's definitely not be used on a public network.

What is B4TM4N SH3LL PHP WEBSHELL in linux server [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I recently noticed that in server a files is created by name bat.php, I downloaded the file and checked in local, it has some codes which i didnt understand and wondered what is this file and how it got generated in my server.
Can anyone tell me what is this? and why it is generated?
Looks like someone has compromised your security and installed a Web Shell script on your server. Here's the actual code! https://github.com/k4mpr3t/b4tm4n
Remove it NOW! This will allow the user to run CLI commands on your system!

Access client's SQL Database with PHP [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 7 years ago.
Improve this question
I was thinking is there a method to gain access to a client PC's SQL database? I am creating a web portal for our LAN clients and I will need to manipulate data on the client's database.
No. you cannot do this with PHP. Php runs on the server.
You cannot do this with javascript in the browser as it is not allowed access to the client pc.
You may be able to write a chrome or firefox plugin that will have access to the host pc and then write code to interact with it.
Or just write an application for your clients to install that comunicates with your app on the php server.

Can I host ownCloud & a Wordpress blog at the same URL? [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 have a Wordpress blog hosted by Bluehost. I am now looking in to setting up ownCloud and I was wondering if and how I could set up both services on at same website. (I realize I'll probably have to do something so that the ownCloud is installed at mysite.com/cloud or something.)
I'm not totally sure that this is the right Stack Site for this question, but I think it is.
Yes, you can create a subdirectory as you wish and use mysite.com/subdirectory to start installation of ownCloud.

Web development in LAMP VM WARE [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I have a LAMP configuration set up in a VM WARE. I am going to transfer files via FTP using transmit client.
Currently I have my files in the following directory
192.133.323.122/website/project/home.php
Do I create a folder in a specific directory?
Usually it'll go in your
your_user_here/var/www
but it doesn't matter really, as long as you know where it is and you know how to reach it.
I would suggest creating a folder with the name of the site, so you can find it easily, so it'll be something:
your_user_root/var/www/project_name

Categories