PSD-Tutorials.de
Forum für Design, Fotografie & Bildbearbeitung
Tutkit
Agentur
Hilfe
Kontakt
Start
Forum
Aktuelles
Besonderer Inhalt
Foren durchsuchen
Tutorials
News
Anmelden
Kostenlos registrieren
Aktuelles
Suche
Suche
Nur Titel durchsuchen
Von:
Menü
Anmelden
Kostenlos registrieren
App installieren
Installieren
JavaScript ist deaktiviert. Für eine bessere Darstellung aktiviere bitte JavaScript in deinem Browser, bevor du fortfährst.
Du verwendest einen veralteten Browser. Es ist möglich, dass diese oder andere Websites nicht korrekt angezeigt werden.
Du solltest ein Upgrade durchführen oder einen
alternativen Browser
verwenden.
Antworten auf deine Fragen:
Neues Thema erstellen
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
PHP, Javascript, jQuery, Ajax, nodeJS, MySQL...
[PHP] Cookie-Problem
Beitrag
<blockquote data-quote="nullnullsix" data-source="post: 1270146" data-attributes="member: 203275"><p><strong>AW: [PHP] Cookie-Problem[/b]</strong></p><p><strong></strong></p><p><strong>[COLOR=Red][SIZE=6]MAAAN!</strong></p><p><strong></strong></p><p><strong>[COLOR=Black][SIZE=2]Dankeschön!!! Das ich das nicht gesehen hab! So blind kann man sein!=)</strong></p><p><strong></strong></p><p><strong></strong></p><p><strong></strong></p><p><strong>[/SIZE][/COLOR][/SIZE][/COLOR][code][COLOR=#000000][COLOR=#007700]if(!isset([/COLOR][COLOR=#0000bb]$cookie[/COLOR][COLOR=#007700])){</strong></p><p><strong>... [/COLOR][/COLOR][/code][COLOR=Red][SIZE=6][COLOR=Black][SIZE=2]</strong></p><p><strong>Das funktioniert schon, bei der ersten Cookie-abfrage mach ichs ja genauso! </strong></p><p><strong></strong></p><p><strong>LG</strong></p><p><strong>nullnullsix</strong></p><p><strong></strong></p><p><strong>-EDIT-</strong></p><p><strong></strong></p><p><strong>Ich war glaub ich ein wenig zu überschwänglich!!!</strong></p><p><strong>Es funktioniert immernoch nicht!</strong></p><p><strong>[php]$cookie_name_stat = $tag."_".$stunde;</strong></p><p><strong> if(!isset($_COOKIE['$cookie_name_stat'])){</strong></p><p><strong> setcookie($cookie_name_stat,"visited");</strong></p><p><strong> $dz_stat = fopen($datei_name_stat, "r");</strong></p><p><strong> $counter_stat = fread($dz_stat, 10000) + 1;</strong></p><p><strong> fclose($dz_stat);</strong></p><p><strong> $dz_stat = fopen($datei_name_stat, "w");</strong></p><p><strong> fwrite($dz_stat, $counter_stat);</strong></p><p><strong> fclose($dz_stat);</strong></p><p><strong> }else{echo $cookie_name_stat;}//diese klammer ist das ende der cookie-abfrage[/PHP]Das echo $cookie_name_stat im ELSE hab ich zu testzwecken hinzugefügt um zu sehen ob das ausrufezeichen vor "isset" überhaupt interpretiert wird. anscheinend nicht! ich bin ratlos!</strong></p><p><strong>[/SIZE][/COLOR][/SIZE][/COLOR]</strong></p></blockquote><p></p>
[QUOTE="nullnullsix, post: 1270146, member: 203275"] [b]AW: [PHP] Cookie-Problem[/b] [COLOR=Red][SIZE=6]MAAAN! [COLOR=Black][SIZE=2]Dankeschön!!! Das ich das nicht gesehen hab! So blind kann man sein!=) [/SIZE][/COLOR][/SIZE][/COLOR][code][COLOR=#000000][COLOR=#007700]if(!isset([/COLOR][COLOR=#0000bb]$cookie[/COLOR][COLOR=#007700])){ ... [/COLOR][/COLOR][/code][COLOR=Red][SIZE=6][COLOR=Black][SIZE=2] Das funktioniert schon, bei der ersten Cookie-abfrage mach ichs ja genauso! LG nullnullsix -EDIT- Ich war glaub ich ein wenig zu überschwänglich!!! Es funktioniert immernoch nicht! [php]$cookie_name_stat = $tag."_".$stunde; if(!isset($_COOKIE['$cookie_name_stat'])){ setcookie($cookie_name_stat,"visited"); $dz_stat = fopen($datei_name_stat, "r"); $counter_stat = fread($dz_stat, 10000) + 1; fclose($dz_stat); $dz_stat = fopen($datei_name_stat, "w"); fwrite($dz_stat, $counter_stat); fclose($dz_stat); }else{echo $cookie_name_stat;}//diese klammer ist das ende der cookie-abfrage[/PHP]Das echo $cookie_name_stat im ELSE hab ich zu testzwecken hinzugefügt um zu sehen ob das ausrufezeichen vor "isset" überhaupt interpretiert wird. anscheinend nicht! ich bin ratlos! [/SIZE][/COLOR][/SIZE][/COLOR][/b] [/QUOTE]
Bilder bitte
hier hochladen
und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Zitate einfügen…
Authentifizierung
Wenn ▲ = 5, ▼ = 2 und ■ = 7, was ist ▲ × ▼ + ■?
Antworten
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
PHP, Javascript, jQuery, Ajax, nodeJS, MySQL...
[PHP] Cookie-Problem
Oben