Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> problem z curl
pys1986
post
Post #1





Grupa: Zarejestrowani
Postów: 233
Pomógł: 0
Dołączył: 18.01.2005

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


Witam, chcę odczytać zawartość pewnej strony za pomocą curl ale nie otrzymuję żadnego wyniku, gdy wywołałem funkcję curl_getinfo to otrzymuję "[http_code] => 302" co mam w takim przypadku zrobić ?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 2)
nospor
post
Post #2





Grupa: Moderatorzy
Postów: 36 557
Pomógł: 6315
Dołączył: 27.12.2004




Cytat
302 - Found
A status code of 302 tells a client that the resource they asked for has temporarily moved to a new location. The response should also include this location. It tells the client that it should carry on using the same URL to access this resource.
Go to the top of the page
+Quote Post
pys1986
post
Post #3





Grupa: Zarejestrowani
Postów: 233
Pomógł: 0
Dołączył: 18.01.2005

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


to wiem ale już sobie poradziłem, odczytałem z nagłówka gdzie mnie chce przekierować, ale dzięki
Go to the top of the page
+Quote Post

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: 24.08.2025 - 14:42