php_utils
alarming
autosfx
aysalia
calllib
checksum-tools
colormanager
cryptochat
currency_converter
decoder
delphiutils
distributed
dpcstudio
dpg2
fastphp
fileformats
filter_foundry
forest
gridgame
ht46f47_simulator
indexer_suite
ipe_artfile_utils
javautils
jumper
lightgame
logviewer
musikbox
mystic_house
oidconverter
oidinfo_api
oidinfo_new_design
oidplus
personal-webbase
php_antispam
php_clientchallenge
php_guestbook
plumbers
prepend
recyclebinunit
simple_log_event
sokoban
spacemission
stackman
userdetect2
uuid_mac_utils
vgwhois
vnag
webcounter
winbugtracker
yt_downloader
BlueGrey
calm
Elegant
Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
php_utils
php_utils
/
trunk
/
cookie_test.phps
– Rev 4
Rev
Go to most recent revision
|
Blame
|
Last modification
|
View Log
|
RSS feed
<?php
if
(
$cookie_state
==
1
)
{
if
(
isset
(
$_COOKIE
[
'TestCookie'
]
)
)
{
setcookie
(
'TestCookie'
,
'test'
,
time
(
)
)
;
echo
'Cookies werden unterstützt!'
;
}
else
{
echo
'Es werden keine Cookies unterstützt!'
;
}
}
else
{
setcookie
(
'TestCookie'
,
'test'
)
;
header
(
'Location: '
.
$_SERVER
[
'PHP_SELF'
]
.
'?cookie_state=1'
)
;
}
?>