![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 195 Pomógł: 0 Dołączył: 13.04.2004 Skąd: Łódź Ostrzeżenie: (0%) ![]() ![]() |
Witam!
Chciałbym napisać prosty system katalogów stron internetowych. User podawałby adres swojej strony, a mój skrypt odwiedzałby go, spisywał META, itp. O ile potafię rozbić stronę ukrytą w zmiennej na konkretne znaczniki, odczytać meta i a href'y, o tyle problemem jest dostanie tej strony. Moje pytanie brzmi: Jak otworzyć stronę internetową przez php i dostać jej zawartość do zmiennej? Słyszałem, że może do tego posłużyć fsockopen... Z góry dzięki za wszelką pomoc ![]() -------------------- Językiem którym najlepiej operują wszyscy programiści są przekleństwa.
|
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 195 Pomógł: 0 Dołączył: 13.04.2004 Skąd: Łódź Ostrzeżenie: (0%) ![]() ![]() |
Testuję to na własnym Apachu... wywołuję to tylko raz - po czym w logach apacha znajduję:
Kod localhost - - [21/Oct/2006:17:33:34 +0200] "GET /testpage/test_page HTTP/1.0" 200 537 O co tu chodzi?localhost - - [21/Oct/2006:17:33:33 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:33 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:32 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:32 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:33 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:31 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:31 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:29 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:32 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:31 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:27 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:31 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:26 +0200] "GET /testpage/index.php HTTP/1.1" 200 8341 localhost - - [21/Oct/2006:17:33:29 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:27 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:27 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:30 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:30 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:30 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:28 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:32 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:29 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:29 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:27 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:28 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:30 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:28 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 localhost - - [21/Oct/2006:17:33:28 +0200] "GET /testpage/test_page HTTP/1.0" 200 20 (Po uruchomieniu strony, mięli strasznie długo, komputer zaczyna ostro pracować, itp.) Ten post edytował L_Devil 21.10.2006, 16:37:07 -------------------- Językiem którym najlepiej operują wszyscy programiści są przekleństwa.
|
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 14.08.2025 - 18:55 |