Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

PHP within CGI code

Posted on 2003-02-20
1
Medium Priority
?
203 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
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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

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

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

564 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