Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [JavaScript][PHP]cURL formularz ajaxowy
-Gość-
post
Post #1





Goście







  1. <div id="loginBox">
  2. <input type="text" class="loginName ui-widget-content ui-corner-all" maxlength="14">
  3. <input type="password" class="loginPass ui-widget-content ui-corner-all" maxlength="14">
  4. <img src="gfx/33aae1d000016f6d.png" onclick="registerPopUp();" class="create-acc-btn">
  5.  
  6. <img src="gfx/d1c117a700005521.png" onmouseout="$(this).attr('src', 'gfx/d1c117a700005521.png');" onmouseover="$(this).attr('src', 'gfx/1a67db4000000b3d.png');" onclick="loginBox();" class="loginBttn">
  7.  
  8. </div>

mam taki oto "formularz". teraz chcę go uzupełnić cURLem
1. czy da rade uzupełnić taki pseudo-formularz?
2. w jaki sposób to zrobić? nie mam dostępnych żadnych name ani nic.
3. taki kod zadziała jako submit?
  1. curl_setopt($c, CURLOPT_URL, 'java script:loginBox();');


formularz pierwotnie jest pobierany przez jquery i wysyłany ajaxem, więc problemu z pobraniem wartościu inputa nie ma. ale jak to zrobić z cURLem? proszę o pomoc.
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: 24.09.2025 - 23:08