473,386 Members | 1,766 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,386 software developers and data experts.

Grabbing form values from an external page

37
Hello all,
I have a page that submits to another page
Is there any way of retrieving the output produced by the second page in the first page?
For instance if I have in the first page a form in which you fill in a name, submit it, to a second page that produces "Hello Tommy", i want to read from the first page what the second page outputed. I have no control over the second page. If there's any way to read its content from a third page the solution is wellcomed.
Thanks in advance
Sep 20 '07 #1
6 1451
I'm not 100% certain what you mean, you can display information on the second page that you have entered on the first page.

[PHP]

$name = $_POST['name'];

//then to display the name you will need to do:

echo $name;

[/PHP]

Is this what you where asking for?
Sep 20 '07 #2
Dreea
37
no
I send some information to a page.... the page interpretes the informatin and outputs something ( i don't know what and how my data affects it) and i need to read what it outputs
for instance in the first page i fill in Tommy. The second page can output "Hello Tommy" "Good morning Tommy" "yes" "no" ... can output anything... and i need to read what it outputs based on my input (in this case Tommy)
Thanks
Sep 20 '07 #3
How about if you do somthing like on the second page

[PHP]

$hello = "Hello" $_POST['name'];

[/PHP]

Then redirect back to the first page then echo out the value?

you will need to then build in an if statement against the time if you wish to have different response during the day
Sep 20 '07 #4
Dreea
37
Well, I can not do anything in the second page for I wasn't the person who wrote the code, and is on onther server
Sep 20 '07 #5
Sorry but i don't think you will be able to do it as you will need somthing to capture your data on that page and then send it back.

might be wrong though but can't see it.
Sep 20 '07 #6
pbmods
5,821 Expert 4TB
Changed thread title to better describe the problem (did you know that threads whose titles do not follow the Posting Guidelines actually get FEWER responses?).
Sep 20 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Amer Neely | last post by:
I have a page showing dynamic generation of a SELECT box using JavaScript. See http://www.softouch.on.ca/dynamic.html. Using Mozilla et al, choosing an option from both lists will result in the...
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...
4
by: darrel | last post by:
I have a contact form that a person submits to the server. In ASP, you'd make a page, post the form to another page, which would grab the values and do somethign with them. in ASP.NET, it...
3
by: Øystein Olsen | last post by:
Hi, I'm in need of help. My web page is built up from nested masterpages. In the page containing the main content i have a form that I want to post to a external site (isapi dll). I want to use...
27
by: Chris | last post by:
Hi, I have a form for uploading documents and inserting the data into a mysql db. I would like to validate the form. I have tried a couple of Javascript form validation functions, but it...
29
by: Amer Neely | last post by:
I've got a dynamically built form with checkboxes for each element ( a list of file names in a directory). I need to grab only those checkboxes that are checked, so I can then delete those files. ...
5
by: joe_doufu | last post by:
Hi, old web developer, new to Ajax and XML here. I'm developing an application that grabs an XML file from a (PHP) web service. In fact, it's going to be an online game. When the user clicks a...
8
by: ridgedale | last post by:
I wonder if anyone could explain how I pass the field values in my request form to the PHP processor page. My external javascript file is as follows: var sections = ; for (var i=0; i <...
2
by: ravisuguna | last post by:
Hi, I have a php page which has some checkboxes ,textfields and values.If I select a checkbox ,a particular value will be displayed in a textfield.I have a "go"button in the same page.I want the...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.