"public" removed
trim now works
demo.php added