Today's Daily WTF is a classic: Client-side PHP. The developer solved the complexity of code living on both the server and the client by simply having the JavaScript in the browser build a chunk of PHP and ship it up to the server for execution! Yow! WTF? As one commenter on the thread put it,

Are.. you.. kidding me? Whoever wrote that code should probably stop using computers.

tagged: javascript, php» react

Comments

Add a comment:

name
email
Ignore this:
not displayed and no spam.
Leave this empty:
www
not searched.
 
Name and either email or www are required.
Don't put anything here:
Leave this empty:
URLs auto-link and some tags are allowed: <a><b><i><p><br><pre>.