I have a php file that needs to redirect to another, but I need to pass an array to the second file. How can I do this.
I know this is wrong, but I need something logically similar to this.
<?php
$arr = array('this'=>'is', 'some'=>'stuff');
header("someurl.php", vals=>$arr);
?>
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…