Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

passing values to certain site.

Posted on 2004-08-22
6
Medium Priority
?
195 Views
Last Modified: 2010-04-06
Hi,

I've created some textfields and textbox and let some values to be keyed in.
Is there anyway to save the values and then pass to them another site which has also some textfields and textbox, and let it process?

0
Comment
Question by:TPoly
[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
6 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 11863850
assuming there is a script on the oter site abel to process the form , you just make that the action of the form:

<form action="hhtp://othersite.com/somescript.cgi">
<input type=text" name=fields1">
additional inputs etc...
</form>

I don't know what you mean by saving them.  Saving them where?

Cd&
0
 
LVL 11

Expert Comment

by:sciber_dude
ID: 11864726
It depends on how the other site is programmed. If you have editing rights to the other site, it makes it easier.

What i mean is.. http://www.google.com/search?q=test

If you can pass a variable to the form and it automatically displays it, then you can do it.

Again, you will need to answer Cd&'s question as to what you mean by save.

:) SD
0
 
LVL 2

Accepted Solution

by:
rlovetx earned 1000 total points
ID: 11865678
The easiest solution would be to pass your form values directly to the processing page of the other website.

Do a "View Source" on the target website and look at their <form> tag.  Get it's method and action and emulate them.

For example:

If the action went to a page, such as www.mypage.com/target.asp and the method=post, then make your form:

<form action="http://www.mypage.com/target.asp" method="post">

If you're only completing part of their form (i.e. your form has 2 fields and theirs has 4 fields), then I think you're stuck unless they work with you.

I think that JavaScript will only allow children pages to update parent pages.  This means that their webpage would have to open a window to your page in order for your page to populate their form.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:TPoly
ID: 11866693
however, i do not have direct editing rights to the other site...
what i mean is my app (a Java program) have some values to pass to a telco website (which provides free internet sms)..
once the values from my app pass to the website, it will automatic send the sms...
0
 
LVL 13

Expert Comment

by:davidlars99
ID: 11867205
how about using MSXMLHTTP here take a look at this:

http://www.experts-exchange.com/Web/Web_Languages/ASP/Q_21102320.html#11862862
0
 

Expert Comment

by:Tony Capewell
ID: 13874399
This has helped me alot, been putting together a web site for my wedding this year, need to pass the gift list number and password through to the John Lewis web site. This worked a dream. Thanks.
0

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
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.

618 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