Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] operator wykonania, nie działa :]
-Gość_wacek_*-
post
Post #1





Goście







co zrobiłem źle ?

$outt = `dir c:`;
echo $out ;

komunikat :

Warning: shell_exec() [function.shell-exec]: Unable to execute 'dir c:' in c:\Inetpub\wwwroot\rozdzial1\zmienne.php on line 26


Podobno nie działa jak właczony safe mode , lub wyłaczony shell-exec.
Safe mode mam wyłoczony a gdzie sprawdzic shell-exec ? Czy jest jescze jakas inna możliwość nie działania tego kodu ?

windows xp
php 5.1.2
IIS
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 8)
Cysiaczek
post
Post #2





Grupa: Moderatorzy
Postów: 4 465
Pomógł: 137
Dołączył: 26.03.2004
Skąd: Gorzów Wlkp.




Hmm.. raczej jest zablokowana. U mnie lata dobrze biggrin.gif hehe - musze zablokować tongue.gif


--------------------
To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness;
chaotic, confused, vulnerability, to inform yourself.
Think for yourself. Question authority.
Go to the top of the page
+Quote Post
-Gość-
post
Post #3





Goście







ale co zablokowane ? ktore
Go to the top of the page
+Quote Post
Cysiaczek
post
Post #4





Grupa: Moderatorzy
Postów: 4 465
Pomógł: 137
Dołączył: 26.03.2004
Skąd: Gorzów Wlkp.




Wywoływanie funkcji. Sam mówisz, że masz safe mode = off, wiec tylko to zostaje, ale jak sprawdzic, to juz nie wiem...


--------------------
To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness;
chaotic, confused, vulnerability, to inform yourself.
Think for yourself. Question authority.
Go to the top of the page
+Quote Post
-Gość_wacek_*-
post
Post #5





Goście







moze pomoze ktos z zerowki lub podstawowki ?smile.gif
Go to the top of the page
+Quote Post
slash12345
post
Post #6





Grupa: Zarejestrowani
Postów: 70
Pomógł: 0
Dołączył: 21.04.2006

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


W php.ini było to chyba disabled_functions


--------------------
Kod
thewanderer@debian:~$ sudo apt-get dist-upgrade
Konieczne pobranie 666KB pakietów. Czy chcesz kontynuować? [T/n] nieeeeeeee
Go to the top of the page
+Quote Post
-Gość_wacek_*-
post
Post #7





Goście







tylko tyle jest php.ini :

disable_functions =
Go to the top of the page
+Quote Post
NetJaro
post
Post #8





Grupa: Zarejestrowani
Postów: 475
Pomógł: 0
Dołączył: 1.04.2005
Skąd: Warszawa

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


Może użyjesz exec" title="Zobacz w manualu php" target="_manual.
Go to the top of the page
+Quote Post
andrews_p
post
Post #9





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 19.09.2006

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


Cytat(NetJaro @ 14.07.2006, 11:48:15 ) *


Moglbys podac jak bys uzyl execa do uruchomienia pliku exe?? Wez napisz jak wykonales to juz i dziala Tobie bo ja to robilem juz na kilka sposobow i niestety nie chce sie uruchomic sad.gif Pozdro

Piszcie na email
Go to the top of the page
+Quote Post

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: 19.08.2025 - 18:12