Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Code to put on index page to call catalog


Guest

Recommended Posts

Posted

Hi,

 

I'm aware of some code about 2 lines long which can be put in a file called index.htm which will call the page Os commerce catalog to the page...

 

I think the code has php echo in it ...

 

If someone could help me, i'd appreciate it.

 

Regards

 

Zee :(

Posted

Meaning, whenever you go to "http://www.mydomain.com/" what should come up is "http://www.mydomain.com/catalog/index.php" instead?

 

www.mydomain.com/index.php:

 

<?php
?header("Location: http://www.mydomain.com/catalog/index.php");
?exit;
?>

 

Be careful NOT to have ANYTHING before the "<?php" or after the "?>", not even a newline!

 

HTH,

M.

I don't want to set the world on fire—I just want to start a flame in your heart.

 

osCommerce Contributions:

Class cc_show() v1.0 – Show Credit Cards, Gateways

More Product Weight v1.0

Archived

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

×
×
  • Create New...