Whenever I browse this php file, it just asks me to save it...

Heya, 8)
Stupid newbie question, but here is the code:

<?php //ini_set('display_errors',1); //error_reporting(E_ALL); $pwdb = "pwdb.dat"; function writeform() { ?> Last Name:
Middle Name:
First Name:
Date of Birth:
Zip Code:
User Name:
<?php } if($Submit="Go") { $filer=fopen($pwdb,"a+"); fwrite($filer,$Lname); fwrite($filer,$Mname); fwrite($filer,$Fname); fwrite($filer,$DOB); fwrite($filer,$Email); fwrite($filer,$Sex); fwrite($filer,$Zip); fwrite($filer,$Uname); fwrite($filer,$Passsword); fclose($filer); } else { ?> <?php writeform(); } ?> <?php } ?>[/php] Thanx ahead, Jacques P.

Sounds like your server is not properly configured. Was this working before?

Sponsor our Newsletter | Privacy Policy | Terms of Service