Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> connect shh skryptem php
hunter209
post
Post #1





Grupa: Zarejestrowani
Postów: 23
Pomógł: 0
Dołączył: 19.08.2008

Ostrzeżenie: (0%)
-----


Panowie gdzie jest błąd? wstydnis.gif

Kod
<?php
    $ip = "steveo.pl";
    $user = "login";
    $pass = "haslo";
    $wykonaj = "python hunter/stats.py > plik.log &";
    $lacz= ssh2_connect($ip, 22);
    ssh2_auth_password($lacz, $user, $pass);
    $stream = ssh2_exec($lacz, $wykonaj );
    ?>


Wpisując adres skryptu do przeglądarki wyświetla się:

Cytat
Not Found
The requested URL /hunter/statystyki.php was not found on this server.

Apache/1.3.41 Server at steveo.pl Port 80


Ten post edytował hunter209 28.09.2008, 16:29:39
Go to the top of the page
+Quote Post

Posty w temacie
- hunter209   connect shh skryptem php   28.09.2008, 16:25:52


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 06:24