no-framework-tutorial
no-framework-tutorial copied to clipboard
A small tutorial to show how to create a PHP application without a framework.
Hi, while following this, I experienced issues with routing: /hello-world was leading to file not found error. I solved this by adding following line in the Directory directive of the...
Hi, in the example, `"name": "Project name"` won't work now. Should be replaced by : `"name": "my/projectname"`
Running current code for [Router](https://github.com/PatrickLouys/no-framework-tutorial/blob/master/05-router.md) section results in following error: `Cannot modify header information - headers already sent` It is caused by `echo` statements in route resolvers and can be...
Struggled with Part 6 for a while because it kept telling the class `Example\Controllers\Homepage` could not be found. Took me about two hours to figure out I needed to run...
Better to teach people to not use user input to access their filesystem.
Explain how to: config file that is in .gitignore
[https://patricklouys.com/professional-php/](url) that links cant open
I am trying to go through **10-dynamic-pages** but can't seem to get the *InvalidPageException* to work. properly. When going to the **localhost:8000/public** it seems to show me the page properly...
See https://github.com/PeeHaa/OpCacheGUI/blob/master/init.deployment.php https://github.com/PeeHaa/OpCacheGUI/blob/master/init.example.php both in gitignore
changes are welcome