| 2:31 pm on Jun 5, 2013 (gmt 0)|
You're accessing the file directly instead of through your Apache server. You need to access via http:// and point it at your server, otherwise no server side processing can happen.
| 2:53 pm on Jun 5, 2013 (gmt 0)|
If my XAMPP default directory is c:\xampp\htdocs. How do I convert this to http for welcome.php?
Can you just give me an example?
| 3:05 pm on Jun 5, 2013 (gmt 0)|
Thank you very much for your reply. Much appreciated...
| 3:19 pm on Jun 5, 2013 (gmt 0)|
So, if it's running as a server, then you would probably do something like
http://localhost/test1.html (depends on how you've configured it and if you're in a subdirectory, etc.)
| 8:49 pm on Jun 5, 2013 (gmt 0)|
If it behaves approximately the same as MAMP, you need to go into its preferences --or whatever your platform calls them-- and select a default directory.
You can never open the file directly from your desktop; it has to be done within the browser. Make a "WAMP site" or similar bookmark and you won't have to memorize the URL. (Mine's http:/ /localhost:8888/ That's the free version, where you can only use one domain at a time. I think the fancier version comes with a pseudo-DNS so you can do multiple domains.)