Here's where I'm embarrassed; I have no successful or even partially successful PHP code. Here was the code I used for the ASP display page:
<%@ Language= VBScript %>
<%
DIM image, gallery
title = Request.QueryString("t")
image = Request.QueryString("img")
gallery = Request.QueryString("g")
%>
<html>
<head>
<title>:: Firefly Creat!ve Group ::</title>
<style>
p{font-family:verdana, sans-serif;
color:bbbbbb;
font-size:10px}
a.light:link {color: #ffffff; text-decoration: none; }
a.light:active {color: #999999; text-decoration: none; }
a.light:visited {color: #ffffff; text-decoration: none; }
a.light:hover {color: #ffcc00; text-decoration: none; }
</style>
</head>
<body bgcolor="#000033" style="background-image: url(/images/template/flyback.gif); background-repeat: repeat-y; background-position: top right;">
<table border="0" cellpadding="2" cellspacing="0" valign="center" align="center" height="80%" width="100%"><tr><td valign="center" align="center">
<p><b><% Response.write title%></b><br>
[<a class=light href="javascript:history.go(-1)" alt="Click to Go Back">GO BACK</a>]</p>
<img src="/images/<% Response.write gallery%>/<% Response.write image%>" alt="Click to go Back" onClick="javascript:history.back()" border="0">
<br>
<p>©2003 Matthew Sullivan, Jessica Bieber, Leslie Klopp, and Meech Yost<br>
<b>:: <a class=light href="http://www.flyonfire.com">www.FLYONFIRE.com</a> ::</b>
</p>
</td></tr></table>
</body>
</html>
As of yet I have NO successful code for PHP to do this same thing.
~M