![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 22 Pomógł: 0 Dołączył: 30.01.2003 Ostrzeżenie: (0%) ![]() ![]() |
jak napisac funkcje php ktora wytnie z innej strony kawalek kodu html ktory znajduje sie miedzy np jakimis znacznikami??
-------------------- www.mypics.pl
|
|
|
![]()
Post
#2
|
|
![]() Grupa: Moderatorzy Postów: 4 465 Pomógł: 137 Dołączył: 26.03.2004 Skąd: Gorzów Wlkp. ![]() |
Można np. użyć poniższych funkcji. Musisz stworzyć sobie wyrażenie regularne,które "wyciągnie" Ci fragment strony.
fopen() preg_match() Pozdrawiam. P.S istnieją alternatywne sposoby z użyciem np. CURL -------------------- 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. |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 22 Pomógł: 0 Dołączył: 30.01.2003 Ostrzeżenie: (0%) ![]() ![]() |
ja dokladnie stworzyc preg_match();?? bo nie wiem jak zaznaczyc to co ma byc wyciete
![]() -------------------- www.mypics.pl
|
|
|
![]()
Post
#4
|
|
![]() Grupa: Moderatorzy Postów: 4 465 Pomógł: 137 Dołączył: 26.03.2004 Skąd: Gorzów Wlkp. ![]() |
Hmm... a skąd ja mam to wiedzieć? To akurat jest rzecz zmienna, bo zależy od kodu, który wycinasz. W manualu są przykłady. Przeanalizuj.
-------------------- 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. |
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 22:43 |