Hi asaf,
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
<?php
$var = "Hello World!";
echo $var;
?>
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.
best wishes,
Altrea