Setting Up Local Testing for PHP [Solved]

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Setting Up Local Testing for PHP [Solved]

Postby Richard85 » 10. August 2012 19:30

Hello All,

I just installed XAMPP version 1.8 along with control panel 3.0.12 so I can start testing PHP scripts on my PC. The problem is when I try clicking on the files they don't work properly. I downloaded some PHP scripts and uploaded one to my website.

The first image is a screenshot of what happens when I open the file which is uploaded to my website, the second screenshot is what happens when I open the SAME file directly from my computer... Keep in mind I installed the Microsoft C++ pack and I have the files in the xampp/htdocs directory. Thanks!!

Image

Image
Richard85
 
Posts: 2
Joined: 10. August 2012 19:08
Operating System: Windows XP

Re: Setting Up Local Testing for PHP

Postby JJ_Tagy » 10. August 2012 19:38

You can't open the PHP file directly in your browser. Try http://localhost/sources/register.php instead.
JJ_Tagy
 
Posts: 788
Joined: 30. January 2012 13:44
XAMPP version: 5.5.15
Operating System: Windows 10 Pro x64

Re: Setting Up Local Testing for PHP

Postby Richard85 » 10. August 2012 20:32

JJ_Tagy wrote:You can't open the PHP file directly in your browser. Try http://localhost/sources/register.php instead.


Yes! It works! Thank you so much!
Richard85
 
Posts: 2
Joined: 10. August 2012 19:08
Operating System: Windows XP


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 72 guests