473,326 Members | 2,680 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Submit form, open result in a browser

Hi,

Is there a way to submit a form and then open the resulting page in the
default browser? (Writing the form submission code is not a problem by
the way)
I guess what I'm asking is how I can get the resulting URL and feed it
to the webbrowser module.
I need to do it this way because the site owners will not let me parse
the page and show the result inside my application... loss of
advertising revenue I guess. And since it's just a small added feature
to the application, opening it in a browser is fine. I just need to get
an idea on how to do it...

Thanks
Tina
Jul 27 '07 #1
4 1325
Tina I schrieb:
Hi,

Is there a way to submit a form and then open the resulting page in the
default browser? (Writing the form submission code is not a problem by
the way)
I guess what I'm asking is how I can get the resulting URL and feed it
to the webbrowser module.
I need to do it this way because the site owners will not let me parse
the page and show the result inside my application... loss of
advertising revenue I guess. And since it's just a small added feature
to the application, opening it in a browser is fine. I just need to get
an idea on how to do it...
That's not how HTTP works. Either you use e.g. urllib to make a http
call and save the resulting html into a temporary file - and then you
point your webbrowser to that.

Or you open the webbrowser with the url + parameters.

But there is no "result url"

Diez
Jul 27 '07 #2
Is there a way to submit a form and then open the resulting page in the
default browser? (Writing the form submission code is not a problem by
the way)
There is a library called "Client Form" that does this for you.
wwwsearch.sourceforge.net/ClientForm/
I guess what I'm asking is how I can get the resulting URL and feed it
to the webbrowser module.
After the form is submitted through ClientForm open the resulting
response using the webbrowser module.

Cheers
Thejaswi Puthraya

Jul 27 '07 #3
theju wrote:
>Is there a way to submit a form and then open the resulting page in the
default browser? (Writing the form submission code is not a problem by
the way)

There is a library called "Client Form" that does this for you.
wwwsearch.sourceforge.net/ClientForm/

After the form is submitted through ClientForm open the resulting
response using the webbrowser module.

Cheers
Thejaswi Puthraya
ClientForm is absolutely perfect! Less than 10 lines of extra code and
the job is done :)

Thanks!
Tina
Jul 27 '07 #4
In article <hs*********************@telenor.com>,
Tina I <ti*****@bestemselv.comwrote:
>theju wrote:
>>Is there a way to submit a form and then open the resulting page in the
default browser? (Writing the form submission code is not a problem by
the way)

There is a library called "Client Form" that does this for you.
wwwsearch.sourceforge.net/ClientForm/

After the form is submitted through ClientForm open the resulting
response using the webbrowser module.

Cheers
Thejaswi Puthraya

ClientForm is absolutely perfect! Less than 10 lines of extra code and
the job is done :)
Jul 27 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: vishal | last post by:
hello friends i have one php script which generates html page containing form. what i want is submit this form using php script. pls give me some idea that how can i submit form using php...
3
by: Mark Michel | last post by:
Hi. I have made an html form which I would like to send by e-mail. When the recipient receives the e-mail form, I would like them to be able to fill it out and click the Submit button which will...
3
by: Matt | last post by:
When people say submit the form data, does it mean the form data are submitted to web browser using either HTTP GET or POST method, and then it will redirect to another page. For example, this...
2
by: Terence Parker | last post by:
How does one go about submitting a form with a link - but submitting it to a new window AND to a page different to that described within the action="" option of the <form> tag? Say, for example,...
6
by: CJM | last post by:
Can somebody clarify if/how/when a simple form is submitted when the <Enter> key is pressed? As I understood it, if you have a form with a single submit button, if enter is pressed, the form...
19
by: Bruce Duncan | last post by:
I know this isn't a php group but I was wondering if my problem is with my javascript in my php code. I'm debugging someone else's code and I can't figure out why this form won't submit. This...
1
by: Andy Kasotia | last post by:
I have an ASP UI with VB Dll as a COM object that access the DB2 Database. I have a "Calculate" button on the ASP Page which when clicked does form validation (javascript) and submits the form...
3
by: Eric van der Niet | last post by:
Hello all, What i want to do is the following. I want to call a c#.net file from an html page. this htm send some parameters to the C# (asp) file. In Vstudio2003 what kind of file should this...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.