?
Solved

PHP within CGI code

Posted on 2003-02-20
1
Medium Priority
?
198 Views
Last Modified: 2010-04-06
Hello,

my question http://www.experts-exchange.com/Web/Web_Languages/PHP/Q_20519189.html is not getting a lot of attention. I'm willing to shell out an additional 25 points to attract attention to it.

Thanks

- V
0
Comment
Question by:Victor_R
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
tomclegg earned 100 total points
ID: 8010903
if ($ENV{"HTTP_COOKIE"} =~ /sitestyle=(\w+)/) {
       print $1;
} else {
       print "skin1";
}

# :-)
0

Featured Post

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question