You are here: Re: sometimes a cookie sometimes not a cookie? « All PHP « IT news, forums, messages
Re: sometimes a cookie sometimes not a cookie?

Posted by willem on 09/28/39 11:56

"Frits van Leeuwen" <Frits.vanLeeuwen@nospam.nl> schreef in bericht
news:1f6c9$44ed59cd$c2ab6db8$27648@news2.tudelft.nl...
>I still do not understand.

> taal_nl.php
> -----------
> <?php
> setcookie("LeeuwendeelTaal", "nl", time()+7200));
> Echo "De taal is Nederlands.";
> ?>
>
> taal_en.php
> -----------
> <?php
> setcookie("LeeuwendeelTaal", "en", time()+7200));
> Echo "The language is English.";
> ?>
>
> I don't see a cookie at the cookie directory.
> And also I dσn't see any text at my screen.
>
> Who knows what's wrong?

Remove the ")" after +7200

Willem

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация