PHP parameters between 2 scripts
<p>Script1:</p>

<pre><code>&lt;?php
/*
$file_url, $referer, $file_title are initialized in some way
*/
...
echo '&lt;a href="download.php?url='.$file_url.'&amp;referer='.$referer.'&amp;name='.$file_title.'"&gt;Download&lt;/a&gt;';

?&gt;
</code></pre>

<p>Script2:</p>

<pre><code>&lt;?php

$file_url = $_GET['file_url'];
$referer = $_GET['referer'];
$file_name = $_GET['file_name']

?&gt;
</code></pre>

<p>Since variables in script1 may be long strings. It makes problems when passing them through GET method. Which alternatives do I have in php for passing parameters between scripts?</p>
