Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> curl odwzorowanie shell na php
koneser69
post
Post #1





Grupa: Zarejestrowani
Postów: 45
Pomógł: 0
Dołączył: 18.11.2008

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


Witam

Szukałem wszędzie i nie mogę znaleźć

polecenie z konsoli które pobiera tylko nagłówek pliku
curl -sI $url

z jak to samo zrobić z php tzn jakie opcje ustawić

$options = array(
CURLOP_HEADER = TREE
);

Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
koneser69
post
Post #2





Grupa: Zarejestrowani
Postów: 45
Pomógł: 0
Dołączył: 18.11.2008

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


To jeszcze nie to odpowiedź serwera:
  1. HTTP/1.1 400 Bad Request
  2. Content-Type: text/html
  3. Content-Length: 349
  4. Connection: close
  5. Date: Thu, 03 Feb 2011 06:19:20 GMT
  6. Server: lighttpd/1.4.25
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 8.10.2025 - 11:03