PDA

Click to See Complete Forum and Search --> : Confirm page


BloodMachine34
Oct 29th, 2000, 04:11 PM
Please help me with my problem
Let's say i want to make an online store. If someone orders some items and click on "buy now", how do I transfer him to a 'confirm' page in which he would see what he ordered, and how much in total he paid? And from that site he would send his order to me. Could someone plz tell me the code? Thanks alot ;-)

Oct 29th, 2000, 06:48 PM
wholy sh** you're going too fast!!!

what language are you writing it in?

PHP?
ASP?

what database system are you using?
For PHP:
MySQL?
PostgreSQL?
Access

For ASP:
Access

Ok,now
do you have a secure server?
if not, people will be reluctant to buy from you, and if you lie, that is probably an offense that can get you a hefty fine.


after all that is figured out...

well, tell me, and I may be able to help you, or find some people who can.....

BloodMachine34
Oct 30th, 2000, 05:55 AM
I thought you could do that in java script, well i guess i was wrong. the server lets me use all type of CGI, which would be the best fof it. And the server is secured, i mean it will be cause my friend will get one soon. Is it enough for you to help me? Hope it is, ...help ;)

Oct 30th, 2000, 01:53 PM
Ok,
first of all, no it can't be done with javascript,
it can be done with JSP(Java Server Pages) but not many people know how to program that, including me.

Ask your friend if the server supports PHP and MySQL...

if not, ask about ASP and MS Access..

In My Opinion, PHP and MySQL is 10000000000x better than ASP, but like I said, that was just my opinion...

after you find that out, post again, and I will tell you what to do next..

BloodMachine34
Oct 30th, 2000, 02:15 PM
yeah, it supports sql, and mysql. So do u know how to make it work?

Oct 30th, 2000, 02:34 PM
Ok,
here are some steps you'll have to take to make this thing happen....

*generate the data entry page(Name, Item, Quantity, etc)
*use the Post method on previous pages, this way you can retrieve the values without having a huge querystring, *you display the variables asking the user if it is correct,
*if it is, then make a page that will put the values in a MySQL database, then redirect the user to a "thank you" page.
*you need a page that will let you view all the orders placed..

I should be able to whip this up within an hour or 2

But I need to know

*how many fields will there be on the data entry page?

Name
Address
Email Address
Payment method
etc.



Dennis

BloodMachine34
Oct 30th, 2000, 08:38 PM
k, for now there will be first name, last name, address, zip code, state, and you will only be able to buy through UPS. I think that is it for now, oh and number of cds he purchases and titles. Thx

Oct 31st, 2000, 02:06 PM
Ok,
I almost finished it, but I am having some slight difficulties,
it should be done by saturday,
if I don't respond to this thread again, that means I forgot,
email me at denniswrenn@yahoo.com to remind me...