I have a page with some HTML in it.
and I need to set the src property to the location of pictures.
How can I achieve that with Kohana PHP ?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It depends on where the images are located. In a standard Kohana install, the files are located in your document root and are accessible with the url::file() call, eg:
would refer to:
Reference: http://docs.kohanaphp.com/helpers/url#file