2015-01-26 14:17 GMT+01:00 EnioRM <[email protected]>:
> Hello all.
> I use LTB Self Service Password to users be capable to change ldap
> passwords, and this is well done.
>
> But when password changed status IS OK, I wish to REDIRECT after N seconds
> to my homepage.
>
> I done this code but does not work
>
> // pages/change.php
>  if (strlen($messages['passwordchangedextramessage']) > 0) {
>         echo "<div class=\"result " . get_criticity($result) . "\">";
>         echo $messages['passwordchangedextramessage'];
>         echo "<META http-equiv='refresh'
> content='5;URL=http://www.mywebpage.com.br'>";
>         echo "</div>\n";
>
> Can anyone tell me where this code should be inserted?
> (sorry by bad english)
>


Hi,

you can't use meta markup outside <head>.

Try to use javascript, like
http://www.bloggingdeveloper.com/post/JavaScript-Url-Redirect-with-Delay.aspx



Clément.
_______________________________________________
ltb-users mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-users

Reply via email to