![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 9 Pomógł: 0 Dołączył: 10.03.2013 Ostrzeżenie: (20%) ![]() ![]() |
Ehh nie wiem jak do tego podejsc zabardzo i wedlug mnie zrobilem wszystko wedlug wzoru tak jak powinno byc (IMG:style_emoticons/default/snitch.gif)
Kod $result = curl_exec($curl); $html = str_get_html($result); $ret = $html->find('input[name=ukrytawartosc]'); kod przedstawia sie mniej wiecej tak... Kod $curl = curl_init(); curl_setopt($curl, dalsza czesc kodu) $result = curl_exec($curl); $html = str_get_html($result); $ret = $html->find('input[name=ukrytawartosc]'); curl_setopt($curl, dalsza czesc kodu) curl_close($curl); i wywala blad w tej linijce (IMG:style_emoticons/default/snitch.gif) Kod $html = str_get_html($result); jakas rada? zalezy mi na ukrytawartosc = nazwa ukrytej wartosci (IMG:style_emoticons/default/tongue.gif) musi byc pobrana i taki sposób obrałem, innego nie znam. chodzi o pobranie takiej wartosci <input type="hidden" value="123" name="ukrytawartosc"> (IMG:style_emoticons/default/tongue.gif) Ten post edytował wamxx0 1.04.2013, 16:15:15 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 103 Pomógł: 17 Dołączył: 15.12.2012 Ostrzeżenie: (0%) ![]() ![]() |
ale to nie jest błąd bo wyświetliłeś sobie id zasobu, wyświetl rezultat, a nie zasób: $result, no chyba że chcesz wyświetlić id zasobu, a wyświetla ci inne niż oczekujesz to wtedy będzie to błąd
Ten post edytował ssstrz 1.04.2013, 17:24:45 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 6.10.2025 - 01:51 |