PHP Classes

File: buildUrl.inc.php

Recommend this page to a friend!
  Classes of Gerry Danen  >  Theme Roller  >  buildUrl.inc.php  >  Download  
File: buildUrl.inc.php
Role: Application script
Content type: text/plain
Description: Helper script
Class: Theme Roller
Generate CSS stylesheets with color palette themes
Author: By
Last change: script updated
Date: 6 years ago
Size: 376 bytes
 

Contents

Class file image Download
<?php
// create a theme url

require_once 'generalFunctions.inc.php';

$themeKey = 'themename';
$themeChoice = getUrlParameter($themeKey);
$themeParams = ($themeChoice == '') ? array() : array($themeKey => $themeChoice);
$_SESSION['theme']['choice'] = $themeChoice;
$queryParameters = http_build_query($themeParams);
$themeCSS = './theme.php?' . $queryParameters;

For more information send a message to info at phpclasses dot org.