Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

help with cPath and osCsid


apache510

Recommended Posts

I am trying to combined the two pieces of information to get a link address like this:

 

localhost/catalog/index.php?cPath=21&osCsid=aa73b--------

 

I tried this

 

tep_href_link("index.php?cPath=21&")

 

but I got this:

 

localhost/catalog/index.php?cPath=21?osCsid=aa73b---------

 

The & got replaced by a ?

 

Nothing that I treid works. Can any one help????

Link to comment
Share on other sites

tep_href_link('index.php' , 'cPath=21')

 

 

tep_href_link(FILENAME_DEFAULT , 'cPath=21')

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

tep_href_link('index.php' , 'cPath=21')

 

 

tep_href_link(FILENAME_DEFAULT , 'cPath=21')

 

 

I just tried it but I got the same thing

 

localhost/catalog/index.php?cPath=21?osCsid=aa73b---------

Link to comment
Share on other sites

Since the code I posted works on a live server I can only guess your tep_href_link function is fubar.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Since the code I posted works on a live server I can only guess your tep_href_link function is fubar.

I created a oscommerce on a local host aswell the same problem happened I think it has to do with the PHP server Global variables cahed, I think I am not too sure. But ya I get the same problem

Link to comment
Share on other sites

I created a oscommerce on a local host aswell the same problem happened I think it has to do with the PHP server Global variables cahed, I think I am not too sure. But ya I get the same problem

I'll take your word for it.

 

I've never tried to run a osC on a local server.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...