|
Posted by bob.chatman@gmail.com on 10/14/06 17:20
Why dont you just change 'password changed successfully' to 1 and test
that?
You dont have to use sentences in variables, and chances are you are
doing a test anyways. One trick i have done is to return a code, and
the code would be the trigger to output. It is much simpler to write
the code, even though you lose readability to the user. But thats what
define() is for.
<?
define('PASS_CHANGE_GOOD', 1);
define('PASS_CHANGE_BAD', 2);
if ($_GET['suc'] == PASS_CHANGE_GOOD)
{
print "Your password has been changed successfully!";
}
?>
..:[ ikciu ]:. wrote:
> Hmm sree <sreedharnatarajan@gmail.com> wrote:
> > Anybody know the reason or solution, please guide me,
>
>
> header("Location: myaccount.php?suc=".rawurlencode
> ("password changed successfully"));
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Ikciu | gg: 718845 | yahoo: ikciu_irsa | www: www.e-irsa.pl
>
> 2be || !2be $this => mysql_query();
Navigation:
[Reply to this message]
|