Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

5 Jan 2005 - catalog listing Author: Paul


Piekny

Recommended Posts

Greetingz,

 

I've downloaded the catalog listing contribution. I think it can be very usefull, but can anyone tell me how to install it? There are only 2 php files. Sadly there's no readme file or something.

 

Thank you in advance,

 

Bram

Link to comment
Share on other sites

Find the following in both files:

 

$conn = mysql_connect("localhost", "user", "password"); 	 // Put your SQL credentials here
mysql_select_db("database", $conn);   	 // Name of the database to open

change user, password, database with your usr name, your usr name password and the name of your oscommerce database respectively.

 

Upload both file to where ever you want, let say your root directory.

 

Call them like this:

 

http://www.yourdomainname.com/report-pic.php

 

http://www.yourdomainname.com/report-txt.php

 

Enjoy

 

Nacer.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...