![]() |
Form and HTTP redirection
HTML:
Code:
Delphi (library = Clever Internet Suite):
<form method="POST" action="http://www.livejournal.com/misc/adult_explicit.bml">
<input type='hidden' name="ret" value="http://vrotmnen0gi.livejournal.com/2223166.html" /> <button type='submit' name="adult_check" value="Yes, I am at least 18 years old.">Yes, I am at least 18 years old.</button> </form>
Delphi-Quellcode:
This code gives me adult_explicit.bml, but should the one from ret fiels. Could you help, please :?:
Request.AddFormField('ret', edtSource.Text);
Http.AllowRedirects := True; Http.Post('http://www.livejournal.com/misc/adult_explicit.bml', Request, Html); |
AW: Form and HTTP redirection
Just set this cookie and you're fine: adult_explicit=1 for .livejournal.com
You are not required to do the POST-REQUEST. I think you know what you do :-D |
Re: Form and HTTP redirection
Thank you buddy!
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:46 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz