The following does not work, the vars to be passed in the URL disappear:
In order not to write an endless string of variables I call
require "funct_poststr_set.php";
which does:
$post_str="post_dbtable=$qu_dbtable&post_dbentry=$post_dbentry&post_title=$post_title&post_parent=$post_parent&post_level=$post_level&post_order=$post_order&post_startpos=$post_startpos"; (it is even longer!)
THEN I have a switch condition which then sets the adress to call incl. all the vars I set above.
switch ($x_which_window) {
case 0: // show cart_display (default)
$post_str="Location:http://".$SERVER["HOST"]."/shop/cart_display.php3?".$post_str;
break;
other cases...
AT THE END I call the new page:
header($post_str);
In the called programm none of the set variables are set.
IF I use the long string with the post-vars directly in the case-area like
$post_str="Location:http://".$SERVER["HOST"]."/shop/cart_display.php3?post_dbtable=$qu_dbtable&post_dbentry=$post_dbentry&....";
it works fine and all vars are set in the called program.
Does somebody has na idea?
Kind regards
CAROLA