Cześć! Robię bota do pewnego forum phpbb.
Wypełnia pola elegancko, ale formularza to już nie wyśle. Tzn. strona się tak jakby odświeża, a nie wysyła.


  1. $forma = _IEGetObjByName($oIE, "post")
  2. $tytul = _IEFormElementGetObjByName($forma, "subject")
  3. $post = _IEFormElementGetObjByName($forma, "message")
  4.  
  5. $wpisz1 = _IEFormElementSetValue($tytul, "asd")
  6. $wpisz2 = _IEFormElementSetValue($post, "asd")
  7.  
  8. $gooo = _IEFormSubmit($forma)



Być może to przez ukryte pola w formularzu?


  1. <input type="hidden" name="mode" value="reply" />
  2. <input type="hidden" name="sid" value="c02a52ebac55cd0f39ef5973d14ca794" />
  3. <input type="hidden" name="t" value="3135030" />
  4. <input type="submit" tabindex="5" name="preview" class="mainoption" value="Podgląd" />
  5. <input type="submit" accesskey="s" tabindex="6" name="post" class="mainoption" value="Wyślij" id="postb" />


Lecz nie wiem co z tym zrobić. Proszę o pomoc.
Pozdrawiam!