Guest Posted December 15, 2004 Posted December 15, 2004 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 :(
mhormann Posted December 16, 2004 Posted December 16, 2004 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.