I once inherited a PHP application in a single index.php that echo'd four or five different HTML pages depending on a post back to itself and whether it was post or get and then the contents of the post or get.
All of the business logic looked exactly like this.
Yep, this.
I once inherited a PHP application in a single index.php that echo'd four or five different HTML pages depending on a post back to itself and whether it was post or get and then the contents of the post or get.
All of the business logic looked exactly like this.
I once wrote an application like this. I guess we all have dark pages of our history )