Site Reviews
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignSite Reviews

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 ASP Free Forums Sponsor:
  #1  
Old November 3rd, 2005, 04:00 AM
RadioactiveFrog's Avatar
RadioactiveFrog RadioactiveFrog is offline
Senior Glowing Wizard
ASP Free God 7th Plane (8000 - 8499 posts)
 
Join Date: May 2005
Location: Sussex
Posts: 8,203 RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 4 Days 39 m 12 sec
Reputation Power: 291
Send a message via MSN to RadioactiveFrog
Facebook
Cool Site Testing...ECommerce Shop

hey all,

I have been working on the code for a ecommerce shop, it is very basic at the moment but the idea is i implement it and keep developing it!

It is still a little way before i can release it but it is ready for testing

here is the link http://www.ukelectricalsupplies.co.uk/

Memnoch, feel free to hack away just don't do anything that will bring down the server

I know the design needs work , i am going to ask a friend if he can sort out a template for me..

any thoughts or suggestion or comments would be appreciated.

Oh, and yes i have used tables to display the product data because for me that works

Thanks,

RF

Reply With Quote
  #2  
Old November 4th, 2005, 04:04 AM
nofriends's Avatar
nofriends nofriends is offline
Senior Water Wizard
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Aug 2004
Location: Cape Town, RSA
Posts: 10,185 nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)  Folding Points: 101609 Folding Title: Super Ultimate Folder - Level 1Folding Points: 101609 Folding Title: Super Ultimate Folder - Level 1Folding Points: 101609 Folding Title: Super Ultimate Folder - Level 1Folding Points: 101609 Folding Title: Super Ultimate Folder - Level 1Folding Points: 101609 Folding Title: Super Ultimate Folder - Level 1Folding Points: 101609 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 2 Days 7 h 29 m 48 sec
Reputation Power: 699
Hi there RF

just a couple of things

I cant comment on the design, because you said you are going
to get someone to do it overs, and I suck at designing NE ways

http://www.ukelectricalsupplies.co....etails.php?pi=1
the Image for this product's details goes over the basket
menu on the right of the page.

When I add a product to the basket, it stays there, maybe go
back to the list of products in that category?

I can type "a" in the qty box, it doesn't give an error but
the line price doesn't get calculated

there is no email validation when I confirm my order,
so I just typed in "asdf"

I was busy with the screen after confirm order, and I got
a session expired problem

I hope this helps a bit
Comments on this post
RadioactiveFrog agrees: Thanks mate, your time is appreciated. No points to give atm
__________________
Look! Its a ShemZilla



Reply With Quote
  #3  
Old November 4th, 2005, 04:26 AM
RadioactiveFrog's Avatar
RadioactiveFrog RadioactiveFrog is offline
Senior Glowing Wizard
ASP Free God 7th Plane (8000 - 8499 posts)
 
Join Date: May 2005
Location: Sussex
Posts: 8,203 RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 4 Days 39 m 12 sec
Reputation Power: 291
Send a message via MSN to RadioactiveFrog
Facebook
Quote:
http://www.ukelectricalsupplies.co....etails.php?pi=1
the Image for this product's details goes over the basket
menu on the right of the page.
How small is your screen !!!!!!! Thanks for the info tho, i willl look at that, maybe setting the z-index of the right menu would help!!

Quote:
When I add a product to the basket, it stays there, maybe go
back to the list of products in that category?
Good plan, thanks

Quote:
I can type "a" in the qty box, it doesn't give an error but
the line price doesn't get calculated
oooops

Quote:
there is no email validation when I confirm my order,
so I just typed in "asdf"
yes, not got round to doing that yet. I will eventually but it at the moment means i don't have to enter in sensible info for testing

Quote:
I was busy with the screen after confirm order, and I got
a session expired problem
Can i ask what sort of session problem? was it a message i had coding in or a php/mysql error that looked horrible..

thanks for all that, it is appreciated!!

RF

Reply With Quote
  #4  
Old November 4th, 2005, 04:55 AM
nofriends's Avatar
nofriends nofriends is offline
Senior Water Wizard
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Aug 2004
Location: Cape Town, RSA
Posts: 10,185 nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)  Folding Points: 101609 Folding Title: Super Ultimate Folder - Level 1Folding Points: 101609 Folding Title: Super Ultimate Folder - Level 1Folding Points: 101609 Folding Title: Super Ultimate Folder - Level 1Folding Points: 101609 Folding Title: Super Ultimate Folder - Level 1Folding Points: 101609 Folding Title: Super Ultimate Folder - Level 1Folding Points: 101609 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 2 Days 7 h 29 m 48 sec
Reputation Power: 699
hey RF,

my work pc is 17" screen running at 1024 resolution

the session expired was a nice message, like an error page

Reply With Quote
  #5  
Old November 4th, 2005, 05:00 AM
RadioactiveFrog's Avatar
RadioactiveFrog RadioactiveFrog is offline
Senior Glowing Wizard
ASP Free God 7th Plane (8000 - 8499 posts)
 
Join Date: May 2005
Location: Sussex
Posts: 8,203 RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 4 Days 39 m 12 sec
Reputation Power: 291
Send a message via MSN to RadioactiveFrog
Facebook
Quote:
Originally Posted by nofriends
hey RF,

my work pc is 17" screen running at 1024 resolution

the session expired was a nice message, like an error page
ok, thanks i will have to test it on a screen with that res so i can see for my self in the future when i change things.

The session expired thing is intended, i found on another site that there was a security issue if i got that far and did not expire the session !!

thanks,

RF

Reply With Quote
  #6  
Old November 4th, 2005, 06:11 AM
RadioactiveFrog's Avatar
RadioactiveFrog RadioactiveFrog is offline
Senior Glowing Wizard
ASP Free God 7th Plane (8000 - 8499 posts)
 
Join Date: May 2005
Location: Sussex
Posts: 8,203 RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 4 Days 39 m 12 sec
Reputation Power: 291
Send a message via MSN to RadioactiveFrog
Facebook
i have implemented email validation, qty validation and i have added a message to say the product has been added to the basket when adding a product from the individual display page, instead of just redirecting back to the category list. The z-index did not help the problem with the menu, just have to think something else up!

Thanks,

RF

Reply With Quote
  #7  
Old November 4th, 2005, 02:12 PM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,764 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 6 h 8 m 20 sec
Reputation Power: 452
Quote:
Originally Posted by RadioactiveFrog
Memnoch, feel free to hack away just don't do anything that will bring down the server


1. It's SQL Injectible (Validate your querystring parameters).

2. Put a max length on your Quantity input fields...I was able to enter a 100 digit number. Which pretty much blew up the shopping cart upon checkout. (See the attached image)

3. I could also enter a negative number into the quantity field.
Attached Images
File Type: gif cart.gif (9.8 KB, 304 views)

Reply With Quote
  #8  
Old November 4th, 2005, 02:39 PM
RadioactiveFrog's Avatar
RadioactiveFrog RadioactiveFrog is offline
Senior Glowing Wizard
ASP Free God 7th Plane (8000 - 8499 posts)
 
Join Date: May 2005
Location: Sussex
Posts: 8,203 RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 4 Days 39 m 12 sec
Reputation Power: 291
Send a message via MSN to RadioactiveFrog
Facebook
Quote:
Originally Posted by Memnoch
1. It's SQL Injectible (Validate your querystring parameters).

2. Put a max length on your Quantity input fields...I was able to enter a 100 digit number. Which pretty much blew up the shopping cart upon checkout. (See the attached image)

3. I could also enter a negative number into the quantity field.
Thanks Memnoch for your time, much appreciated.

1) DOH!! -- Any guidance or more info on this?? Thanks.
2) ooops, i have put a max length on most things, forgot to put on on there....i will sort it !!
3) I will sort that too!

thank you

RF

Reply With Quote
  #9  
Old November 4th, 2005, 02:54 PM
RadioactiveFrog's Avatar
RadioactiveFrog RadioactiveFrog is offline
Senior Glowing Wizard
ASP Free God 7th Plane (8000 - 8499 posts)
 
Join Date: May 2005
Location: Sussex
Posts: 8,203 RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1Folding Points: 157641 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 4 Days 39 m 12 sec
Reputation Power: 291
Send a message via MSN to RadioactiveFrog
Facebook
ok, i have made the changes to solve numbers 2 & 3, could just do with some guidance on number one if you have a moment please

thanks

RF

Reply With Quote
  #10  
Old November 4th, 2005, 04:17 PM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,764 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 6 h 8 m 20 sec
Reputation Power: 452
This page

expects an integer value passed (1), but look what happens when you change the 1 to an "a".
If it expects an integer value, validate that it is in fact an integer before you go any further. Have a custom Error page to redirect to if validation fails.

If I add this
Code:
UNION SELECT password,USER() FROM mysql.user;

to the end of the querystring, I get this nice message.

Quote:
SELECT command denied to user: 'toolbox_ukes@localhost' for table 'user'

Always validate the input you receive, whether it's from a form, the querystring or hidden fields.
Comments on this post
RadioactiveFrog agrees: Thanks for all your help here

Last edited by Memnoch : November 4th, 2005 at 04:26 PM.

Reply With Quote