Solved

recommend a php library to submit to this aspx form

Posted on 2013-06-29
3
455 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
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 109

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

860 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