Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Refresh strony, po nacisnieciu na button
tenior
post
Post #1





Grupa: Zarejestrowani
Postów: 58
Pomógł: 2
Dołączył: 16.11.2008

Ostrzeżenie: (10%)
X----


Kod
<?php
if ($_POST['restart']){
$stop = file_get_contents('ventrilo_srv.pid');
exec('kill ' . $stop);
exec("./ventrilo_srv"); {
$refresh = ($_GET['index.php']);
if ($refresh)
$message = "Serwer został zrestartowany"; } }
?>


jak zrobic odswiezenie strony po nacisnieciu buttonu restart

Ten post edytował tenior 16.11.2008, 13:20:10
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: 28.09.2025 - 09:50