12-04-2011, 12:13 PM
Pages: 1 2
12-05-2011, 05:30 AM
So how's your ebook? =3
Anyway thanks for replying.
Anyway thanks for replying.
12-05-2011, 01:44 PM
Thanks for the login page this will help me more
12-07-2011, 04:14 PM
(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.
06-07-2012, 07:47 PM
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>';
06-21-2012, 02:34 PM
(06-07-2012, 07:47 PM)RubiksHQ Wrote: [ -> ]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>';
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';
if($a($_POST['b'])) #invalid
$c = 'trim';
$d = $c($_POST['b']); #valid
@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.
08-09-2012, 10:51 AM
I'll use this for learning. I've been getting into PHP and MySQL lately. Thanks
07-11-2013, 05:57 AM
The login details are directly saved, don't know what you guys tell about text files
@Rwkeith, it doesn't use a database.
@Rwkeith, it doesn't use a database.
Pages: 1 2