![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 5 Pomógł: 0 Dołączył: 3.06.2004 Skąd: Gdańsk Ostrzeżenie: (0%) ![]() ![]() |
Czy istnieje instrukcja "grep" w php?(IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif)
np. jak wykonać coś takego w php: $xx= iptables -vxnL | grep "192.168.1.10" | awk '{print $2}' Szukam, szukam, studiuje ksiąki i nie moge nic sensownego znaleźć. CHYBA SŁABO SZUKAM. (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) Oczywiście nie interesuje mnie rozwiązanie typu $xx= `iptables -vxnL | grep "192.168.1.10" | awk '{print $2}'` ewentualnie : $xx= `iptables -vxnL` i dalej już instrukcjami php |
|
|
![]() ![]() |
![]() |
Aktualny czas: 24.08.2025 - 23:28 |