Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I'm a PHP beginner. I usually use ASP.NET C# using Visual Studio just developing my own practice unpublished websites.
I have recently be asked to assist with a website using PHP and MySQL.
I have been given the following details to access the code:
host: www.hostname.xx
username: xxxx
password: xxxx
I visited the host site, there is no Log In feature. I downloaded a Platform called WampDeveloper to check if there is a feature to allow you to log in to a server host, but was unsuccessful. It seems to just allow me to create a new website (this may not be the case).
I'm embarrassed to ask, but can anyone offer any suggestions as to how I can use these log in details to view the site source code.
Also, if there is a better Platform for PHP can you let me know, I've downloaded WordPress too.
There are multiple ways you can access the source code - either by directly logging into the server or via FTP client such as FileZilla - you can NOT directly access php code as its executed on the server and not on client side.
You can download FileZilla (an FTP Client) and navigate to the place where all php code is located and download it to your local machine to inspect/modify.
If you are familiar with Linux and Vim you can download SSH Client such as Putty or Cygwin(more complex) and log in to server and edit the files directly on the server.
There is usually no way to directly access the code from web (as there shouldn't be). Instead the usual way is through a FTP connection to the target server.
Uh, this is a newb mistake but, don't be ashamed. If you are just new at this its fine. You need a platform such as FileZilla to connect.
Here is how it should look:
Host: www.hostname.xx User: user2424234 Pass: urpasswordhere Port: 21 [CONNECT]
then you can upload files
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am hosting a server from work, which has installed on it a Wordpress.org installation on localhost running through XAMPP with Apache and MySQL. I am now trying to install “really simple SSL” onto the Wordpress installation so its not an insecure site and that requires the site be loaded over https However, when i click to load over https i get a 401 authorization required error. Web dev is something new to me so i am requiring assistance and every instance of trying to access the site leads to the 401 error. If anyone is able to help that would be much appreciated. Thanks in advance.
Remove the Really Simple SSL plugin folder, than fix the siteurl in the WP_OPTION table by removing the HTTPS and leaving only http.
If you cannot set SSL on your local server it's better to stay with http than to wrongly set it.
Can be a problem if this site goes live, but for developing purpose it's not necessary.
By the way, for Windows systems I prefer Laragon to XAMPP.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I am looking for a way to host a webpage and a mySQL data base but in internal network, like an intranet for example.
When I was working on the website and the database, I used MAMP to emule a server on my PC but this work only on one PC. I'm looking for a way to share this website on different PC but only on my internal network.
Sorry for bad english. If there's something not understandable, please ask.
If it's a "repost question", please lead me to the answer I'm looking for. If you need more information, be pleased to ask them.
Thanks.
Unless it is very sensitive I would go for an external webhotel like godaddy.com or similar in your country. And add password protection on the site.
If you want to host it you need a computer that is on 24/7 and install your setup there, but then you are required to handle hardware failures, updating the software and so on.
MAMP and others should work. You might be visiting http://localhost:1234/index.php on your machine so on your network on other device, try http://yourmachinename:1234/index.php. As long as the ports are open, this should work.
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.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I made a PHP based webapp and a customer of my needs it on his website. Now I want to put the PHP code on my server and let the customer's website include it remotely. How do I set this up? And can I restrict the acces when the customer doesn't need the app anymore and is it secure?
There is nothing such as remote PHP. Doesn't work that way. However you can setup some API to communicate between the two servers on backend. You'd still need both servers to be capable of this interaction, that means both servers still need to be fully functional. And if your code on client's server can talk to your API on host server, then they can take that code and see how it interacts with your host and replicate it.
A very simple solution would be to put the PHP-generated content from your website in an <iframe> on their website.
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/