let's say we have simple file
<?php
echo "hello world"
I'd like to place the file in /modules/myModul/(somewhere).
Where do I have to save the file and how do i call it via the browser url?
let's say we have simple file
<?php
echo "hello world"
I'd like to place the file in /modules/myModul/(somewhere).
Where do I have to save the file and how do i call it via the browser url?
As far as I know, Kohana's default .htaccess already includes the check whether the URL corresponds to a real file
RewriteCond %{REQUEST_FILENAME} !-f
So if you save this php file somewhere and access it by the URL you would expect to find it at, the request will not be sent to Kohana at all.
If you placed the file in /modules/myModul/example.php, then the URL would be http://www.example.com/modules/myModul/example.php