[PHP] Very Basic Login Page - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: PHP The Hypertext Preprocessor (https://www.supportforums.net/forumdisplay.php?fid=21) +---- Thread: [PHP] Very Basic Login Page (/showthread.php?tid=23536) Pages:
1
2
|
RE: [PHP] Very Basic Login Page - HF~Legend - 12-04-2011 Great job ! Thanks Easy but cool ;) RE: [PHP] Very Basic Login Page - BreShiE - 12-05-2011 So how's your ebook? =3 Anyway thanks for replying. RE: [PHP] Very Basic Login Page - Hex - 12-05-2011 Thanks for the login page this will help me more RE: [PHP] Very Basic Login Page - Benjamin Franklin - 12-07-2011 (12-01-2011, 03:33 PM)SuhinderG Wrote: Please tell me this doesn't store in a text file. LOLOLOLOLOLOL, that made me laugh, Nothing wrong with storing in text files as long as you properly encrypt the data, and deny access to it via htaccess. RE: [PHP] Very Basic Login Page - Retribute - 06-07-2012 You could have used the empty() function instead of PHP Code: If ($_POST["text"] == "" || $_POST["pass"] == ""){ echo '<script>alert("Please enter something into the text boxes!")</script>'; RE: [PHP] Very Basic Login Page - Haxalot - 06-21-2012 (06-07-2012, 07:47 PM)RubiksHQ Wrote: You could have used the empty() function instead of Technically speaking, empty is a language construct, not a function. The most obvious difference between a language construct (that requires parenthesis) and a function is that you are unable to have a variable as a name for it (unlike in a function). PHP Code: $a = 'empty'; @BreShiE, there's no need for you to question if there is input in the third IF statement because the ELSE part of the second IF statement will make sure of that. RE: [PHP] Very Basic Login Page - Rwkeith - 08-09-2012 I'll use this for learning. I've been getting into PHP and MySQL lately. Thanks RE: [PHP] Very Basic Login Page - 1n9i9c7om ツ - 07-11-2013 The login details are directly saved, don't know what you guys tell about text files @Rwkeith, it doesn't use a database. |