No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
8 Posted Topics
or you could type your localhost's computer name
move "}" on line 37 to line 27... there i hope that works...
i guess the question is not whether to validate through php (server side) or through javascript(client side).. i think it is more of a question of validating the form before sending to the server or sending the form to be validated at the server.. i guess one of the reason's …
@kuteinhart... why not put both inputs into one form.. once you press submit, the form either goes back to the same page to do some processing or send these to another page.. either way.. you could do it like this.. [CODE] if(isset($_POST['submit'])) { $first_var=$_POST['test1']; $second_var=$_POST['test2']; // you can now either …
[B]header(); works fine, though not always.. i found this little treasure on the web.. it's better to use..[/B] $url = "whereto.php"; // target of the redirect $delay = "0"; // seconds of delay echo '<meta http-equiv="refresh" content="'.$delay.';url='.$url.'">'; die(); [B]just put this in place of[/B] header('Location: nextPage.php'); exit;
in addition to this, i guess what @muralikalpana is driving at, maybe your user database has a flag or a field that is initialized to be zero or something that indicates the user's account has not yet been validated. sending an email link with status=0 or something else that when …
Actually i discovered this bit a long time ago.. it's effect is.. well.. similar to that of AJAX... The problem with us programmers sometimes is that when we get to engrossed, we keep forgetting that the solution is as simple as what you showed us here.. thank you for reminding …
why not download apache friends xampp (wamp) it already installs apache and mysql, newer installers offer installing apache and mysql as a stand-alone or as a service..
The End.
mktgmgr101