Equivalent of _phptemplate_variables() There is a function in Drupal 5 (_phptemplate_variables()) that has been deprecated in Drupal 6.
Is there a similar function in Drupal 6?
well, i'm not totally sure what you mean, but according to the title of the post, you want a redirect function ?

something like the drupal_goto(); function?

http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_goto/6