Search found 3 matches

by w0lf42
Sun Oct 30, 2011 3:32 am
Forum: PHP - Code
Topic: CSSTidy Add @import CSS Functionality
Replies: 0
Views: 406

CSSTidy Add @import CSS Functionality

Goal Add the following functionality to CSSTidy : ability to import a CSS file which has @import calls to other CSS files and treat all selectors as if they exist in the main CSS file So, if main.css contains the following code: @import url('../styles/global/reset.css'); @import url('/styles/themes...
by w0lf42
Sun Aug 17, 2008 5:58 pm
Forum: PHP - Code
Topic: PHP Sessions w/ CSS File
Replies: 2
Views: 725

Re: PHP Sessions w/ CSS File

Thanks - It works! I assumed since I called the session start in my index.php file, that I didn't need to do it in my css.php file.
by w0lf42
Sun Aug 17, 2008 3:40 pm
Forum: PHP - Code
Topic: PHP Sessions w/ CSS File
Replies: 2
Views: 725

PHP Sessions w/ CSS File

I'm using PHP Sessions to remember the browser name and version and it's working. include($_SERVER['DOCUMENT_ROOT'] . '/include/browser.php'); $uad = new User_Agent_Detector(false); session_start(); $_SESSION['operatingSystem'] = $uad->get_os(); $_SESSION['browser'] = $uad->get_browser(); However, m...