View Single Post
  #7  
Old 02-19-2008, 07:03 PM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
Lightbulb

You can put the following code after session_start(); (instead of what was posted earlier) and it will allow you to specify the template in a link to your pixelpost site:

Code:
if ($_POST['newtemplate']) {
$_SESSION["template"]=$_POST['newtemplate'];
} else if ($_GET['newtemplate'])  {
$_SESSION["template"]=$_GET['newtemplate'];
}

so they you can go like this:

http://www.yoursitehere.com/?newtemp...ameoftemplate1

http://www.yoursitehere.com/?newtemp...ameoftemplate2

http://www.yoursitehere.com/?newtemp...ameoftemplate3
__________________
Kevin | Light & Dark Photoblog

Reply With Quote