Solved

recommend a php library to submit to this aspx form

Posted on 2013-06-29
3
462 Views
Last Modified: 2013-07-01
http://www.webcontinuum.net/dotnet_webform.aspx#form_input1
checkboxes, select menu, textbox
on submit tells client that input form control has been changed

what is a php library webbot you would recommend to submit to this form
0
Comment
Question by:rgb192
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 250 total points
ID: 39287712
I wouldn't recommend any because it is not likely to work.  That page and form has several uniquely .NET features.  One is the "__VIEWSTATE" which  carries with it the 'state' of the page or application.  Another is "__EVENTVALIDATION" which tells the form 'action' page something about validating the inputs.  In addition, there is a lot of javascript on that page to handle different things.

What are you trying to do?
0
 
LVL 110

Assisted Solution

by:Ray Paseur
Ray Paseur earned 250 total points
ID: 39288078
+1 for what DaveBaldwin said.  Web-site-scraping is a thing of the past, and for good reason.  In the long term it creates a brittle application that will fail.

Do not depend on any design pattern that tries to make automated submits of form data.  Forms are for human input, not machine input.  And the design of forms, especially when they use tokens or JavaScript, is intended to make it difficult or impossible for external programming to create automated submissions.

Can you get around the tokens and JavaScript?  Sometimes, but it takes a lot of programming.  And if a web service finds that unwanted automatic form submission is happening, they can add a CAPTCHA test to the form, and your application will be suddenly and permanently broken without notice.

Instead, go to the publisher of the web site or web service that you want to use.  Show them what you're trying to do.  Ask them to expose an API that will let you communicate directly with the application.  If they see economic value in your request, they will help you.  It may be as simple as making a direct POST-method request.  And if they don't want to help, there really isn't much you can do about it -- after all, they are the owner of the resource.
0
 

Author Closing Comment

by:rgb192
ID: 39290508
okay this form is complex with asp viewstate and javascript

thanks
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to refresh a page from a sub domain in ajax ? 34 48
php error 27 61
EditableGrid how to fetch rows from MySql in php 14 48
How to remove  "0":  in a json string 4 19
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo‚Ķ
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question