Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Alternative:
Boss: can you write a page where the login always fails?
Me: Sure. *Writes it in PHP* -
RAZERZ26797y@deusprogrammer yeah you can just add a form like this:
<form method="post" action="">
Username: <input type="text">
Passwd: <input type="password">
<input type="submit" value="submit">
</form>
<?php
if(isset($_POST['submit'])){
echo "Login failed!";
}
Of course you can store what the user inputs using MySQL and whatnot, but why would anyone require this? -
@RAZERZ bravo XD. Your deflection of my sarcasm with more sarcasm was legendary.
Boss: "Can you create a login page where every login fails?"
Me: "Sure thing!"
*Writes out php file that returns false and calls it via AJAX*
rant