our approach
|
new tutorials
|
contact us
PHP Basics In Pictures
Basics
Variables
Numbers
User functions
Logic & Loops
Files
Create a new script with this code:
<?php
$GoodPassword = 'acme';
if ($password == $GoodPassword){
print "<b>Acme Password verified!</b
\n";
}
?>
Save the script as
if.php
in the
PHPSCRIPTS
folder, then upload it to the
phpscripts
directory on the Web server.
<< BACK
NEXT >>