Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Looking to see if someone already has this code


Recommended Posts

I think if you look in includes/classes/database.php there's a line that says something like:

tep_db_connect(blah blah blah)
or die (error message)


I'm sure you could change that "or die" to be "or redirect()" and be on your way.


Great idea, by the way...I'll have to use that.

Chris Dunning

osCommerce, Contributions Moderator Team


Please do not send me PM! I do not read or answer these often. Use the email button instead!


I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly.

Link to comment
Share on other sites


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

  • Create New...