Combing URL component variables into a full URL
<p>I would like to combine the variables below as a new variable called $fullurl.  They are components of a URL.  The structure of the combined variable is shown under the variables below.  How can I do this?</p>

<pre><code>$urlc = nytimes.com/business/finance/articles/2005/05/10/20100727stock-prices-declining.html
$submissiondate = 2005-07-27 2022:38:10
$submittor = mike17
$countcomments = 15
$dispurl = nytimes.com
$submission = News about A Topic
$submissionid = 125
$domainurl = http://www.domain.com/folder/subfolder/index.php?
</code></pre>

<p>The combined order:</p>

<pre><code>http://www.domain.com/folder/subfolder/index.php?submission=News+about+A+Topic++&amp;submissionid=125&amp;url=nytimes.com/business/finance/articles/2005/05/10/20100727stock-prices-declining.html&amp;countcomments=15&amp;submittor=mike17&amp;submissiondate=2005-07-27%2022:38:10&amp;dispurl=nytimes.com&amp;subcheck=0
</code></pre>
