Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Database


sunnybrook

Recommended Posts

I've integrated the customer details capture form into my own webpage and it appears to have worked in as much as the database has been updated successfully (wow, :thumbsup: first time). I have added a set of other fields to the form that I would like to store.

 

It looks like php is pretty easy to understand and I could quite easily ( ;) ) modify create_account to cater for other fields that I want to store in the database and modify the db to cater for those fields.

 

Any reason why that wouldn't be a good idea?

 

Any way of easily capturing the info passed, writing the stack to a temporary file for example, so that I could analyse it and see if the data is passing correctly?

 

Only problem I encountered was ...

 

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Program Files\xampp\htdocs\includes\classes\email.php on line 522

 

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\includes\classes\email.php:522) in C:\Program Files\xampp\htdocs\includes\functions\general.php on line 33

 

...and I would imagine that that is just a matter of doing what the error messages suggest?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...