Question:
How do I access a web page with a PHP extension?
2014-07-20 15:08:06 UTC
I have been all over Google with this and I'm frustrated. All I'm trying to do is access/view a web page that has a .php extension. When I try to access it, it's blank. I've downloaded XMAPP based on some websites I've visited and I can't figure out how to make it work with that either. Can somebody please help? Note: I am not programming savvy...
Four answers:
husoski
2014-07-20 15:50:03 UTC
You can't get at the PHP code for a website through normal HTTP. That's partly because the web server always runs PHP documents as server-side code, and partly because with common options, the requested "file" may not exist at all. It might be generated entirely by code from some combination of template files and/or information from a database. (The .js and .css files are generally real documents, though, and you can look at them.)



To see PHP source code, you need access to the filesystem where they are stored.
.
2014-07-20 17:17:50 UTC
Did you by chance read this?





I can not download (my antivirus identify it as potentially dangerous software, virus, threats, trojan, etc..) I can't install (in place of windows-installer appears blank page).

We assure you that MediaGet does not contain any virus, "worms," "Trojan horses" or any other dangers, if you download it from our official site. Some antivirus such as NOD 32, Kaspersky, DrWeb, can identify MediaGet as a "dangerous or potentially unwanted software". All this because any download manager can be used to download virus from the internet. In order to provide maximum safety and minimize the risk of infection of computers of our users, we have worked only with verified (certified) web-sites, apart our effort, we recommend you to download files from trusted web-sites. To get rid of false alert of antivirus in to our software, you need to add MediaGet in the exclusion list of your antivirus. If you were not able to do it alone and needs our help, please contact us via the support form.



It's on the faq. http://www.mediaget.com/faq



You might also ask in the support forum.
Chris
2014-07-20 15:16:17 UTC
Describe

a) where the .php file is located on your hard drive and

b) how you're opening it

(You must access it via http://localhost/...)



And finally, of course, SHOW US YOUR CODE...

How are we supposed to troubleshoot this if we can't see your mistakes?
?
2014-07-20 15:08:39 UTC
ASK ALIENS.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...