theolster
May 15th, 2008, 01:44 PM
OK this should be so simple I can't understand it. I've got a fresh install of hardy, with Apache, MySQL & PHP installed.
But php seems not to be working properly. I just want to post some thing from a form. Here's the code:
<?php
session_start();
echo $_POST['login_email'];
?>
...
<form action="/login" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<label for="login_email">Email Address</label>
<input class="text" id="login_email" name="login_email" type="text" value=""/>
<label for="login_pass">Password</label>
<input class="text" id="login_pass" name="login_pass" type="password" maxlength="255" value=""/>
<input class="button" name="submit" type="submit" value="Login" />
</fieldset>
</form>
and I'm getting nothing, any help would be greatly appreciated.
But php seems not to be working properly. I just want to post some thing from a form. Here's the code:
<?php
session_start();
echo $_POST['login_email'];
?>
...
<form action="/login" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<label for="login_email">Email Address</label>
<input class="text" id="login_email" name="login_email" type="text" value=""/>
<label for="login_pass">Password</label>
<input class="text" id="login_pass" name="login_pass" type="password" maxlength="255" value=""/>
<input class="button" name="submit" type="submit" value="Login" />
</fieldset>
</form>
and I'm getting nothing, any help would be greatly appreciated.