ld13
Honorary Master
I'm having a problem with a FORM of mine that does not want to work properly. Fine, does not want to work AT ALL. I've been sitting for 4 hours with this [-]stupid[/-] piece of code but no luck
I'm getting desperate - I must be missing something (big)
Seems like no info gets passed on properly? Please Help. Any help will be appreciated...
Live Demo of how it does not work lol
index.html
test.php
Live Demo of how it does not work lol
index.html
PHP:
<html>
<head><title>Untitled 2</title></head>
<body>
<form action=test.php method="post" target="_self" enctype="text/plain" name="hi">
NAME:<input type="text" name="name">
EMAIL:<input type="text" name="email">
<input type="submit" value="Press Me" name="hi">
</form>
</body>
</html>
test.php
PHP:
<?php
@$pfw_ip= $_SERVER['REMOTE_ADDR'];
@$name = addslashes($_POST['name']);
@$email = addslashes($_POST['email']);
echo("OK");
echo($name);
echo($email);
echo("END");
?>