Jostino
-
Posts
6 -
Joined
-
Last visited
Posts posted by Jostino
-
-
..... However,the refresh functionsoI do notdo any good
and will not work because there are already included in the beginning of the output in header.php
-
The code is header("Refresh: 1; URL= index.php");
and it's put in this code:
elseif ($p == "logout") { session_destroy(); echo "Logout effettuato con successo!"; header("Refresh: 1; URL= index.php"); ob_end_flush();
and here
if($verificadati == 1) { $sessione = mysql_fetch_array($recuperadati); $_SESSION['username'] = $sessione['username']; echo "Login effettuato con successo!"; header("Refresh: 1; URL= index.php"); ob_end_flush();
the code header auto-refresh the page after a command
-
thanks, if u know another solution for the collision of the output and header("Refresh..") problem i'm happy to know it!
-
i know, in fact, i request that was added by the admin if you can
-
i need to add in php.ini this command: output_buffering
because i have a problem with the output echo before the header
[Solved] Edit Php.ini
in Escalated Requests
Posted
can i substitute the header(); with the exit();?
found solution:
<script>setTimeout('top.location = \'index.php\'', 1000);</script>