Howard Kaikow wrote:readme_en.txt states that examples are in \xampp\htdocs.
Sorry I can't find that reference in the lite version's readme_en.txt file.
This line is incorrect and should be ignored:
Examples:
- C:\XAMPPlite\htdocs\test.php => http://localhost/test.phpFor the XAMPPLite examples or demos use the
http://localhost address and look for the examples (demos) in the Welcome Page or alternatively find the files in
S:\xampplite\htdocs\xampp folder.
Howard Kaikow wrote:Also, can I copy my own examples to any directory under htdocs and have PHP work there, just by clicking on the files?
php examples or indeed any php file will not work if you simply click on the file in a folder - you need to have Apache parse the code, so you will need to use your browser's address bar and call them by using a URI.
Example:
http://localhost is the
S:\xampplite\htdocs folder
http://localhost/xampp is the
S:\xampplite\htdocs\xampp folder
http://localhost/myfiles is the
S:\xampplite\htdocs\myfiles folder
http://localhost/myfiles/mytest.php is the
S:\xampplite\htdocs\myfiles\mytest.php file and should display the php coded file as intended, assuming no errors in your php code.