Advertisement

02.24.2006 at 04:55PM PST, ID: 21751069
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.8

How to Append Form Variable Data to a New URL

Asked by techtalk in PHP and Databases

Tags: , , ,

Greetings everyone,

First let me say that I am a 'backyard wannabee programmer'. ;-)

This question has to do with collecting information from a form and building a url
(with the variable data appended to the link) for processing by a script.

My question: How do I add the variable data to a url and then pass it to a php
script (The script to receive the data is html2pdf, but this could pertain to others as well.)

Here's what I have so far:

===== Start here =====

<form method="GET" action="http://www.123xyz.com/book/book.php?book=sb&f1=abc123&f2=12345&send_pdf=yes">
<font>1st Affiliate ID<br>
<input type="hidden" name="book" value="sb">
<input type="text" size="12" name="f1">
2nd Affiliate ID#<br>
<input type="text" size="12" name="f2">
<input type="submit" VALUE="Submit It"></font>
</form>
<P><a href="http://www.123xyz.com/book/book.php?book=sb&(f1}&{f2}&send_pdf=yes">Click now for the book</a>.</P>

===== End here =====

The first line represents what you would see if the user entered abc123 as their first form entry (f1) and 12345
as their second entry, or (f2).

The last line is what I thought would work, until I started doing a lot more searching and reading. I know that
this can be done with cgi (don't know exactly how), but I think php is cleaner and more elegant, maybe?

What I would LIKE to do is have the visitor click the submit button, display what was typed with a "reset form"
button, in case of typos, and then show the newly built url for the visitor to click.

This code is in a standard .html page right now. Do I need to change the name to .php, and if so what are the
benefits?

Does it make any difference if I collect the data from one web page (or domain) and send it to the script which
is installed at another domain or web page?

Thanks in advance for your php expertise!

Ralph MooreStart Free Trial
[+][-]02.24.2006 at 05:50PM PST, ID: 16043943

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.24.2006 at 08:52PM PST, ID: 16044326

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02.26.2006 at 05:53AM PST, ID: 16049121

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.26.2006 at 02:15PM PST, ID: 16050993

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.26.2006 at 03:23PM PST, ID: 16051270

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.26.2006 at 04:28PM PST, ID: 16051604

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.26.2006 at 06:10PM PST, ID: 16052017

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.26.2006 at 06:47PM PST, ID: 16052139

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: PHP and Databases
Tags: php, append, variable, form
Sign Up Now!
Solution Provided By: rockmansattic
Participating Experts: 2
Solution Grade: A
 
 
[+][-]02.26.2006 at 07:15PM PST, ID: 16052438

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.26.2006 at 08:33PM PST, ID: 16052703

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.27.2006 at 04:39AM PST, ID: 16054554

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.27.2006 at 04:48AM PST, ID: 16054598

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-44