Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

& symbol


Halfpint

Recommended Posts

I have the SEO urls installed, but I stayed on cName and pName,

because my host doesn't support mod_rewrite for some reason

 

I have a url that looks like this:

 

mywebsite/product_info.php?pName=a4-ultra-pro-9-pocket-portolio-blue&cName=albums-and-folders

 

I tried changing all the & symols I could find to & but it stopped the category links from working, so

 

My question is where is the & symbol that appears in the url above defined as I would like to change it from & to & so that at least it will validate.

Link to comment
Share on other sites

I have the SEO urls installed, but I stayed on cName and pName,

because my host doesn't support mod_rewrite for some reason

 

I have a url that looks like this:

 

mywebsite/product_info.php?pName=a4-ultra-pro-9-pocket-portolio-blue&cName=albums-and-folders

 

I tried changing all the & symols I could find to & but it stopped the category  links from working, so

 

My question is where is the & symbol that appears in the url above defined as I  would like to change it from & to & so that at least it will validate.

 

 

Ok problem solved I edited

includes/functions/html_output.php

by inserting

$link = str_replace('&', '&', $link);

above

return $link;

 

then I edited

includes/functions/general.php

by inserting

$url = str_replace('&', '&', $url);

below

function tep_redirect($url) {

 

Page now validates

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...