How about sending a csv file with the exported data? you generate a random string, and store it in a table. You put this random string into the url, on the landing page, the php program calls a file_get_contents() function to the first server, using this keypass string and gets the contents.
you can build a form where you select all the information to pass to the next page,
and $_POST is a good way to read them.
if you can , do not pass values in URL , becouse you need to encode the special characters.
if you make a variable visible in a form, be careful with the html codes:
if i pass a variable using a $_POST["name"] variable:
My address is "hun"
<input name="name" value="<?php echo $_POST["name"] ?>">
this will break my html form.
<input name="name" value="My address is "hun"">
to solve it, use a function:
<?php
function is_then($var)
{
return isset($_POST["$var"]) ? htmlspecialchars($_POST["$var"]): '' ;
}
?>
<input name="name" value="<?php is_then("name"); ?>">