help with php and variables
<p>script example can be found at <a href="http://panelbackup.com/e.php" rel="nofollow">http://panelbackup.com/e.php</a></p>

<p>how can I get these random numbers appended to a url prior to it being served by the script? So far the url is loading, and I have a variable for generating the random number, but I am having trouble piecing them together to both be called together. You can see from loading the page that the page is loaded, and the random number string is printed to the page, but I am needing it appended to the url prior to serving it. Here is the code:</p>

<pre><code>&lt;?php
$c=print rand(1111, 9999);
$a=fopen('http://test.com','');
$b = stream_get_contents($a);
echo $b;
fclose($a);
</code></pre>

<p>So technically, I am wanting this to pull url.com/page#### when the page is loaded, and when refreshed, load url.com/page####, with the #### being another set of randoms. Don't need any slashes, etc. only url and then the numbers concatenated to the end. How would I call both variable $a and $c together? (I may also have this syntax wrong, if so, please clarify/help)</p>

<p>Thanks</p>
