Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Skrypt usunięcia cookie, przy wejściu na stronę
barteqck
post
Post #1





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 22.05.2012

Ostrzeżenie: (0%)
-----


Witam, potrzebuje prostego sktyptu php który czyści cookie strony po wejściu na nią. Czyli przykładowo wchodze na stronę abc.pl i skrypt sam wyczyści cookie związane z tą stroną. Czy jest taka mozliwość?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
barteqck
post
Post #2





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 22.05.2012

Ostrzeżenie: (0%)
-----


Poczatek index.php wygląda tak:

  1. <?php session_start(); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xml:lang="pl" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title><?php include("ustawienia/tytul.inc.php");?></title>
  5.  
  6. <?php include("ustawienia/meta.inc.php");?><?php include("ustawienia/tradedoubler.inc.php");?>
  7. <?php include("ustawienia/google_analytics.inc.php");?><meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
  8.  
  9. <link rel="stylesheet" type="text/css" href="/files/default.css" />
  10. <link rel="stylesheet" type="text/css" href="/files/tagi.css" />
  11. <link rel="stylesheet" href="/files/stylesheet.css" type="text/css" />
  12. <![if !IE]><link rel="stylesheet" type="text/css" href="/files/firefox.css" media="screen" /><![endif]><!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="/files/ie7.css" /><![endif]-->
  13.  
  14. <link rel="shortcut icon" href="favicon.ico" />
  15. <link rel="icon" href="favicon.png" type="image/gif" />
  16.  
  17. </head><body>
  18.  
  19. tutaj wstawam kod cookie
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 16.10.2025 - 20:57