Sure, it worked perfectly. The XAMPP index.php file makes a redirect to the \xampp\htdocs\xampp\ subfolder.
asaf wrote:I tried a test file called test.php the same path - and it gave me the same Eror message.
Make a new test.php file with the following code
- Code: Select all
$var = "Hello World!";
and save it in C:\xampp\htdocs\
Now you can request it with the URL http://localhost/test.php
and should echo out Hello World.
asaf wrote:is it possible that my antivirus or firewall preventing xampp to operate?
No, it is all about requesting the file the right way. Everything which starts with file:// in your browser doesn't work, because then your browser will load the file directly via from your harddisk and will not request it through your Webserver.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~free software according to purpose of usageXAMPP 1.8
for local development/testing onlyZend Server 6 (free)
for production environments
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~It's like porn for programmers