Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

h4ppy_girl

Archived
  • Posts

    100
  • Joined

  • Last visited

Profile Information

  • Real Name
    theresa

h4ppy_girl's Achievements

  1. Okay, here are the errors: Warning: ereg_replace(): REG_EMPTY in /hsphere/local/home/organic/myorganickid.com/catalog/includes/functions/general.php on line 1259 Here is the code: //Mett-define censor (bad words) function function tep_censor($message) { { $fh = fopen("badwords.txt","r"); //Open the file that contains the words while($word = fgets($fh,4096)) { $message = ereg_replace(trim($word),"*****",$message); //replace words } return $message; //return censored words } echo tep_censor($message); } //Met The next error is: Fatal error: Cannot redeclare tep_db_connect() (previously declared in /hsphere/local/home/organic/myorganickid.com/catalog/includes/functions/database.php:13) in /hsphere/local/home/organic/myorganickid.com/catalog/includes/functions/database.php on line 13 Can anyone help me?
  2. I trying to install the Censor bad words contrib and it keeps breaking my site. Any help out there?
×
×
  • Create New...