glenelkins Posted April 18, 2011 Share Posted April 18, 2011 Hi How can i fill a form on a web page with C# ? Specifically a password field, The field needs to be selected by its ID, not the field name. Quote Link to comment https://forums.phpfreaks.com/topic/234066-fill-form-password-field-with-c/ Share on other sites More sharing options...
requinix Posted April 18, 2011 Share Posted April 18, 2011 Is the form too dynamic to simply pass the right values directly in a GET/POST submission and bypass even looking at the original ? Quote Link to comment https://forums.phpfreaks.com/topic/234066-fill-form-password-field-with-c/#findComment-1203080 Share on other sites More sharing options...
glenelkins Posted April 18, 2011 Author Share Posted April 18, 2011 Well basically the issue is I am a PHP, JS etc programmer and im learning C# . I am writing an article submitter and a part of it is to login to a specific forum and post for me. It uses vBulletin but because the password field uses JS to take the value, rather than posting it with the form, it never fills the field in by name... if that makes sense? So i need something of the equivalent of the js: document.getElementById ().value for C# Quote Link to comment https://forums.phpfreaks.com/topic/234066-fill-form-password-field-with-c/#findComment-1203112 Share on other sites More sharing options...
requinix Posted April 18, 2011 Share Posted April 18, 2011 So you're writing a bot... Assuming the forum is under your control, post stuff to the database directly. If that assumption happens to be wrong then does the forum owner/administrator know you're trying to do this? Quote Link to comment https://forums.phpfreaks.com/topic/234066-fill-form-password-field-with-c/#findComment-1203152 Share on other sites More sharing options...
glenelkins Posted April 18, 2011 Author Share Posted April 18, 2011 the forum is not under my control no, not that it's really the concern of this discussion. the forum accounts are mine on the forum, the software is just to make my life easier in writing informative articles and posting them automatically rather than wasting valuable time posting myself. please continue to answer the question in the discussion. Quote Link to comment https://forums.phpfreaks.com/topic/234066-fill-form-password-field-with-c/#findComment-1203164 Share on other sites More sharing options...
requinix Posted April 18, 2011 Share Posted April 18, 2011 The thread is about how to help you make a bot. Whether you're allowed to make and use one is most certainly "the concern of this discussion". Have you asked whoever runs the forum if you can make automated posts like this? Quote Link to comment https://forums.phpfreaks.com/topic/234066-fill-form-password-field-with-c/#findComment-1203170 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
× Pasted as rich text. Restore formatting
Only 75 emoji are allowed.
× Your link has been automatically embedded. Display as a link instead
× Your previous content has been restored. Clear editor
× You cannot paste images directly. Upload or insert images from URL.