title: changing Oscommerce to use ? instead of / as url parameters
body: <p>I have an Oscommerce site hosted by godaddy that recently developed an error: No input file specified. 
  I have tried various options to no help..
  I need to change the way the url is passed from <a href="http://www.mtlafrica.com/index.php/cPath/46" rel="nofollow">http://www.mtlafrica.com/index.php/cPath/46</a> to <a href="http://www.mtlafrica.com/index.php?cPath=46" rel="nofollow">http://www.mtlafrica.com/index.php?cPath=46</a></p>
  
  <p>Below is my code:</p>
  
  #
  
  <pre><code>function tep_show_category($counter) {
    global $tree, $categories_string, $cPath_array;
  
    for ($i=0; $i&lt;$tree[$counter]['level']; $i++) {
      $categories_string .= "&amp;nbsp;&amp;nbsp;";
    }
  
    $categories_string .= '&lt;div class="link_prod"&gt;&lt;a href="';
  
    if ($tree[$counter]['parent'] == 0) {
      $cPath_new = 'cPath=' . $counter;
    } else {
      $cPath_new = 'cPath=' . $tree[$counter]['path'];
    }
  
    $categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '"&gt;'; //this is the default that is being used to call links as http://www.mtlafrica.com/index.php/cPath/46 
  
    if (isset($cPath_array) &amp;&amp; in_array($counter, $cPath_array)) {
      $categories_string .= '&lt;span style="color:#C40000" &gt;';
    }
  
  
    $categories_string .= $tree[$counter]['name'];
  
    if (isset($cPath_array) &amp;&amp; in_array($counter, $cPath_array)) {
      $categories_string .= '&lt;/span&gt;';
    }
  
    if (tep_has_category_subcategories($counter)) {
      $categories_string .= '-&amp;gt;';
    }
  
    $categories_string .= '&lt;/a&gt;';
  
  
    $categories_string .= '&lt;/div&gt;&lt;br /&gt;';
  
    if ($tree[$counter]['next_id'] != false) {
      $this-&gt;tep_show_category($tree[$counter]['next_id']);
    }
  }
  </code></pre>
  
  #
  
  <p>Please assist.</p>