Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 12th, 2004, 06:23 AM
xewex xewex is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 4 xewex User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question please can you help me !

hi,
I'm new in here so be nice with me
ok here is my problem:
I need create a action where my clients type order number than they click ‘Get file Now ‘and if order number is correct download of file starts automatically .
here is example:
http://www.xewex.com/test.html

can someone help me please

Thank You
xewex

Reply With Quote
  #2  
Old October 13th, 2004, 05:32 AM
RCN RCN is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Location: London
Posts: 6 RCN User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 7 sec
Reputation Power: 0
You might want to try placing this question in one of the 'programming' areas of the site. PHP would be able to easily deal with a question like this.

Quickly however, you will need something like this:

<form name="OrderInformation" action="getOrder.php" method="get">
Enter your order number: <input type="text" size="30" name="OrderID"> <input type="submit" value="Get your file now!">
</form>

Then, in a page that was called getOrder.php, you would use the value 'OrderID' to pull information from a database... this is when you would test if their order was stored in the database, if not, display an error message.

If your orders are just stored as HTML pages however, you could simply use javascript to forward the user to a page, the value of which was gathered in the form. So your form would be the same, but you would have to use an 'onSubmit' handler, that would take the 'orderID' value, and forward the user to a page called 'orderID.html'... or something similar.

I'm afraid more information as to the set up of your website is needed...

Hope it points you in the right direction though.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > please can you help me !


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway