nharry Posted March 25, 2010 Share Posted March 25, 2010 I need to retrieve the captcha from the megaupload site and display it on my page so the users can input it and then download the file with having to go to megaupload How would I use Curl to display the content within the div tags. I want the user to be able to post the captcha. <div style="position:absolute; left:703px; top:10px; height:115px;"> <TABLE style="font-family:arial; font-size:13px; margin-left:3px;"> <FORM method="POST" id="captchaform"> <INPUT type="hidden" name="captchacode" value="1a589e0a53c54f937eb8"> <INPUT type="hidden" name="megavar" value="bed55b1a7a26e4bb0aa11df4188f58bda6958d72856a637ca55cbda4c24c89b97d52e39e3a2d1d26082273dec61e68416bd929d566cf63cd8441e9f6166d667618060608c5d63c9341e72fc036ea4ed1ec8d099bc488fa1f3c5df7228e10a0f79c4e5fb78fe41f0d9873194c56f94dfbcc008e4a7c8ebc58c8169d42cb98a9a86d8cb6dfbae8791b9dfcf5a3119f7941cc07e9ba48934ad9b5f865cd32e71bf6d3a3954ddc4e75925aaf2c0ec6d1dd884ccc4d299be3e41957a967e68a143af49d6b7ff7b36dac725f20214e58feb32662e09f5840ac76cff67f7d99e67ffb485d72382dd20cece80e4307dfef720a51734d7f9a4a363de0950d3d0e927423642a79b2e68ed177d2ad2d877c1c2052969ec61737749b05864b3a74d241981d6b89"> <TR> <TD>Enter this </TD> <TD width="100" align="center" height="40"><img src="http://wwwq32.megaupload.com/gencap.php?23243f17c2404dd4.gif" border="0" alt=""></TD> <TD> here:</TD> <TD><input type="text" name="captcha" id="captchafield" maxlength="4" style="border:solid 1px; border-color:#C4C4C4; background-color:#F9F9F9; width:50px; height:25px;"></TD> </TR> </FORM> </TABLE> <br> <a href="javascript:checkcaptcha();"><IMG SRC="http://wwwstatic.megaupload.com/gui2/en/but_dnld_file.gif" WIDTH="259" HEIGHT="55" BORDER="0" ALT="" onmouseover="button.src=this.src; this.src=buttonover.src;" onmouseout="this.src=button.src;"></a> </div> Link to comment https://forums.phpfreaks.com/topic/196549-megupload-captcha-curl-html-parsing/ Share on other sites More sharing options...
o3d Posted March 26, 2010 Share Posted March 26, 2010 If you have to use megauploads' captcha then you might have to do some curl'ing. However if you don't need to use their captcha this project might do the trick: http://www.phpcaptcha.org/ Link to comment https://forums.phpfreaks.com/topic/196549-megupload-captcha-curl-html-parsing/#findComment-1031984 Share on other sites More sharing options...
nharry Posted March 26, 2010 Author Share Posted March 26, 2010 Unfortunatly I do have to use their captcha in order to access the content. How do I get started with the curling? Link to comment https://forums.phpfreaks.com/topic/196549-megupload-captcha-curl-html-parsing/#findComment-1032143 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.