Solved

Using the Get method

Posted on 2004-09-19
5
139 Views
Last Modified: 2013-12-24
Hi,
so i have a page that posets information to a cc processor. After the user has finished entering the cc details, and the payment is processed the processor offers to send the user back to my site (which is very important bec. then they will get their reciept), no i have got this to work when it is not dierct return (i.e. the user must click on a link to go back to my site) in this case i was using the hidden form fields passed to me from the processor and that works fine. But the moment i put it on automatic return (the user is automatically directed to a page on my site) it just does not work.
the processor has indicated that i should be using the get method, i know that this an attribute with forms, but i do not know how to use it! please do not do something like <form method ="get"......>, i know this, but i do not know how to get the information and pass it to my queries. so i need an example code, as detailed as possible
thanks
0
Comment
Question by:MMsabry
  • 4
5 Comments
 
LVL 21

Accepted Solution

by:
pinaldave earned 500 total points
ID: 12096059
hi
get is the same as post in the form.
There is lot to discuss but let me just talk on point.
Get sends variables in url.variable
Post sends variable thourh form.variable

if you use get then the variables will be there in url.
You can use them same as when you use post method then form.variables ... now you use url.variable...

Summery :
The only differance is that you use url.var instead of form.var examples  will be same as any forms examples of yours.
Regards,
---Pinal
0
 

Author Comment

by:MMsabry
ID: 12096253
so, in my code,
at one point i have
Insert .....
where total = #form.total#

this "form.total" is passed to my page from the processor, so I would just have to change this into
Insert ....
where total =#url.total#,

that is all the change i have to make to my code?
0
 
LVL 21

Expert Comment

by:pinaldave
ID: 12096347
well you got it.
Yes. that is it...
---Pinal
0
 
LVL 21

Expert Comment

by:pinaldave
ID: 12096354
well also this similar thread can also help you while i am off to Vegas Strip for some time...
http://www.experts-exchange.com/Web/WebDevSoftware/ColdFusion/Q_20838809.html
Regards,
---Pinal
0
 
LVL 21

Expert Comment

by:pinaldave
ID: 12227133
Thanks and have a good day!
---Pinal
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

910 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now