![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 25 Pomógł: 0 Dołączył: 3.10.2010 Ostrzeżenie: (0%) ![]() ![]() |
Potrzebuję skrypt w AJAX, który skopiuje zawartość strony - przykładowo http://188.165.12.66:8012/index.html (serwer shoutcast) i wyświetli ją.
Próbuję zrobić: jednak wyświetlany jest komunikat "error"... Skrypt ten potrzebny mi jest do zrobienia statystyk radiowych... Dodam, że w samym PHP trudno było uzyskać kod tej strony:
Z góry dziękuję za pomoc! Ten post edytował dami95 27.05.2011, 15:22:07 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 690 Pomógł: 92 Dołączył: 6.02.2011 Ostrzeżenie: (0%) ![]() ![]() |
jedyne, co pamiętam, to zrób proxy
Nie, czekaj, JSONP - Cytat Alternatively, the JSONP approach incorporates the use of an encoded callback function passed between the client and server to allow the client to load JSON-encoded data from third-party domains and to notify the caller function upon completion, although this imposes some security risks and additional requirements upon the server.
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 12.10.2025 - 15:18 |