PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old October 17th, 2002, 06:13 AM
johno692001 johno692001 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 4 johno692001 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question PHP Shopping Cart Script

I'm using the PHP shopping Cart script (tutorial from this site); but the products just won't add to the cart. I'm receiving no errors, but nothing is being written to the database tables either.

I just don't get it. The connection script is working fine and I'm on paid hosting with FastHosts.

Any ideas?

cart script attached.
Attached Files
File Type: txt cart.txt (5.6 KB, 542 views)

Reply With Quote
  #2  
Old October 17th, 2002, 07:02 AM
johno692001 johno692001 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 4 johno692001 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
problem solved!

My host uses PHP v 4.06 which doesn't support

$GET

so just changed to:

$HTTP_GET_VARS

Problem solved!

Reply With Quote
  #3  
Old October 17th, 2002, 10:37 AM
Lindset Lindset is offline
weirdomoderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Location: Alta, Norway
Posts: 370 Lindset User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to Lindset Send a message via AIM to Lindset
What? Why are they using PHP 4.06? You should send a mail telling them to upgrade..
__________________
Best Regards,
Håvard Lindset

Reply With Quote
  #4  
Old October 17th, 2002, 02:26 PM
johno692001 johno692001 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 4 johno692001 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
The host I'm using is fasthosts.co.uk

If there are any other users of their service, perhaps we can gang up on them and get them to upgrade.

Reply With Quote
  #5  
Old October 17th, 2002, 02:35 PM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,246 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
Yeah... It's surprising that they haven't upgraded... With all the security concerns going on with servers and scripting languages, you'd think they would pay more attention to ensuring they are properly dealt with.

I'm with Lindset... Send them a message.
__________________
____________________________________________
Developer Shed Weekly Writer | DevArticles Forum Moderator
Build Your Own KlipFolio Klip With PHP
FrankManno.com - Under Construction
Design Interactive Group - Under Construction

Reply With Quote
  #6  
Old October 27th, 2002, 06:09 PM
mal23 mal23 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 1 mal23 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
shopping cart problem

I also cannot insert records with the support code, yet i'm using php4.1. The mysql connection is fine as i can get the list of products.
The sessionid appears to be reset each time the page is refeshed (i.e the cookie has not been set)

Any ideas much appreciated

Reply With Quote
  #7  
Old January 8th, 2003, 10:28 AM
Stackman Stackman is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 1 Stackman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Can someone send me the scripts for this cart. It would be greatly appreciated.

Reply With Quote
  #8  
Old January 8th, 2003, 11:40 AM
jpenn jpenn is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Washington, DC
Posts: 317 jpenn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 3 sec
Reputation Power: 6
Quote:
Originally posted by Stackman
Can someone send me the scripts for this cart. It would be greatly appreciated.


Look on the first post in this thread - the script is attached....
__________________
~ Joe Penn

We work for free to help make this a valuable resource on the internet. Do you appreciate the help - did we provide help that will help you prosper and help that has contributed to sharpening your current skill set?

Show your appreciation and purchase something from our Amazon Wishlist's - it's simple and a great way to say thank you.




Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > PHP Shopping Cart Script


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 5 hosted by Hostway