Also ich hab ein Kleines porblem mit meinem aktuellem Projekt.. ich bin an einer neuen webseite dran und wollte Cookies setzen für die Aktuelle Session..
Jedoch will das nicht so wie ich will.. Ich kann nicht umleiten und auch keine Cookies setzen..
Ich benutze PHP 5.4 (5.4.9) mit SQLSRV Treiber...
Jedoch will das nicht so wie ich will.. Ich kann nicht umleiten und auch keine Cookies setzen..
Ich benutze PHP 5.4 (5.4.9) mit SQLSRV Treiber...
PHP Code:
setcookie("TestCookie", 'Test', time()+3600);
header('Location: http://google.com/');
PHP Code:
[02-Dec-2012 19:24:18 Europe/Berlin] PHP Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\vhosts\wwwhome\index.php:164) in C:\inetpub\vhosts\wwwhome\function\func.login.php on line 89