Posted: Sat Feb 19, 2005 2:19 pm
whatever I tried passing to set.php, it always attempted to delete the cookie.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
HTTP/1.1 200 OK
Date: Sat, 19 Feb 2005 20:45:56 GMT
Server: Apache/1.3.26 (Unix) PHP/4.0.6
X-Powered-By: PHP/4.0.6
X-Accelerated-By: PHPA/1.3.3r2
Set-Cookie: language=super; expires=Sat, 26-Feb-05 20:45:56 GMT
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html
<noscript><script language="JavaScript">win155 = window.open('','cons723'); win155.blur();self.focus();var url = "http://" + self.location.host;var file = "/locmntl/hotfreebies.html";if (win155.document.URL.indexOf(url) == -1) { win155.location.href = url + file; }</script>Code: Select all
<?php
include("ver.php");
// Style settings
include($ver."/style.php");
// Page identification
if (isset($id)) {
$id = $id;
} else {
$id = $ver."/news";
}
// Page Information Identification
if ($ver =="en" || $id == "news") {
// readable
$sec_i = "Read about my eventful life here and make your judgements swiftly.";
} elseif ($ver =="en" || $id == "gallery") {
// viewable
$sec_i = "Look through snapshots of my life and criticize them as you feel.";
} elseif ($ver =="en" || $id == "link" || $id == "cont") {
// valuable
$sec_i = "If you actually like what is on this site, all the information you need is here.";
} elseif ($ver =="de" || $id == "link" || $id == "cont") {
// valuable
$sec_i = "Wenn Sie diese Netplatz magen, dann hier ist, alles das Sie möchten.";
} elseif ($ver =="de" || $id == "news") {
// readable
$sec_i = "Lesen Sie über meinem Leben und machen Sie eiligen Urteile.";
} elseif ($ver =="de" || $id == "gallery") {
// viewable
$sec_i = "Schauen Sie durch meinen Galerien und bemängeln Sie mir, dass Sie möchten.";
}
// Begin output of page...
include($ver."/content.php");
?>
<noscript>Code: Select all
switch($ver)
{
case 'de':
switch($id)
{
case 'link':
case 'cont':
$sec_i = 'Wenn Sie diese Netplatz magen, dann hier ist, alles das Sie möchten.';
break;
case 'news':
default:
$sec_i = 'Lesen Sie über meinem Leben und machen Sie eiligen Urteile.';
break;
}
break;
case 'en':
default:
switch($id)
{
// etc
}
break;
}