![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 20 Pomógł: 0 Dołączył: 3.09.2004 Ostrzeżenie: (0%) ![]() ![]() |
Wywoluje sobie funkcje java w nastepujacy sposob
$sys=system("java druk_pkg/drukuj $id"); if($sys!='') {echo" <script language='javascript'> alert('$sys'); </script>"; } Dopuki wszystko stalo na WIN2000 oraz iis5 bylo miodzio ale teraz z przymusu przenioslem sie na 2003 i lipa dostaje info Warning: system(): Unable to fork [java druk_pkg/drukuj 28335] in C:\www\iframe_druk.php on line 141 Ma ktos pomysl co z tym zrobic ![]() Moje pomysly zawiodły prubowałem następujących bajerów - w iis uruchomialem witryne na uprawnieniach system lokalny - w php safe_mode = Off - katalog www może nawet gość wykasowac i zmieniac - wszystkie powyrzsze naraz - o zgrozo i nic w kolo to samo prosze o pomoc |
|
|
![]() |
![]()
Post
#2
|
|
![]() Grupa: Przyjaciele php.pl Postów: 1 717 Pomógł: 0 Dołączył: 12.06.2002 Skąd: Wolsztyn..... Studia: Zielona Góra Ostrzeżenie: (0%) ![]() ![]() |
Przenosze na php.
-------------------- Brak czasu :/
|
|
|
![]()
Post
#3
|
|
![]() Developer Grupa: Moderatorzy Postów: 2 844 Pomógł: 20 Dołączył: 25.11.2003 Skąd: Olkusz ![]() |
na angielkim forum pisza zeby:
sprobowac pokrewnych funckji system" title="Zobacz w manualu PHP" target="_manual() lub passthru" title="Zobacz w manualu PHP" target="_manual() albo exec" title="Zobacz w manualu PHP" target="_manual() Cytat Taken from http://php.net/exec (RTFM ![]() ![]() Cytat Cytat Shaun 26-Jan-2005 10:53 Trying to use 'exec' to run a helper executable on Win2K3 (and I'm told this also happens on Win2K) from a php script running on IIS, failed to invoke the executable. Running the same php script on Win2K using Apache to serve the page calling the same helper executable worked. Solution: On Win2K3 (and probably Win2K), give the IIS IUSR_xxxxx guest user Read & Execute permissions to Cmd.exe found in the System32 folder under Windows root directory. This one had me confused longer than it should have! Hope this saves others from the same fate! You could of course just switch to Apache, but I guess if you're using IIS you've no choice. źródło : http://www.zend.com/phorum/read.php?num=6&...547&thread=2542 tutaj tez mozesz poczytac: http://www.experts-exchange.com/Web/Web_La...Q_20445300.html |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 14.08.2025 - 05:38 |