Hi... i am trying to get the funtion that sends the current template to another.

just like the <cf location="http://www.com/next.php>

Essentially, i need, that a server execution template go to another a execute another template, without including it.

Template 1 -----------> template 2
without clicking.

thanks!

    With php

    header ("Location: http://www.php.net");

    or

    echo '<form name="formulario" action="http://www.php.net" method="post">
    <input type="hidden" name="algo" value="algo">
    <script language="javascript">
    formulario.submit();
    </script>
    </form>';

    Guillermo

      function redirect($address,$delay=0)
      {
      echo "<script language=javascript>\n";
      echo "setTimeout(\"window.location='$address';\",$delay);\n";
      echo "</script>\n";
      }

        Write a Reply...