![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 677 Pomógł: 11 Dołączył: 18.11.2009 Ostrzeżenie: (0%) ![]() ![]() |
Witam,
Potrzebuje wysłać zmiene w $_POST: $_POST['name'] $_POST['surname'] na adres: http://docelowyadres.pl/ nie może to być w formularzu<form>. Próbowałem tak: $postdata = http_build_query(array('NAME' => $_POST['name'], 'SURNAME' => $_POST['surname'])); $context = stream_context_create($postdata); fopen('http://docelowyadres.pl/', 'r', false, $context); niestety wyskakują błędy Warning: stream_context_create() expects parameter 1 to be array, string given in ... Warning: fopen() expects parameter 4 to be resource, string given in ... |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 14.06.2025 - 22:12 |