[SOLVED] HTML Form + PHP Help! - 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: [SOLVED] HTML Form + PHP Help! (/showthread.php?tid=17901) |
[SOLVED] HTML Form + PHP Help! - J4P4NM4N - 04-10-2011 Excuse my n00bery, but I am having trouble learning this one part for my internal-use website. I have an HTML site with a form like so: Code: <form method="POST" action="log.php" id="login_form" > For now I'm just wanting to store the email and password to a text file, and I have two future goals (irrelevant here, but one is a password manager, the other is part of a plugin that integrates with Firefox for similar functionality). So far I have login.php as shown here: Code: <?php But something isn't working (I don't feel I grasp the whole POST-form thing). Whenever I input email and password and click "Submit" I get a prompt to download login.php. Help is very much appreciated. RE: HTML Form + PHP Help! - J4P4NM4N - 04-11-2011 Fixed it. Had no webserver running. Plus switched my server-side processing to Perl (but that's irrelevant to this thread). |