PDA

View Full Version : moving shopping cart



lclark
01-04-2007, 03:29 PM
i have a shopping cart in my main directory, but i want to move the whole thing to my subdirectory, how would i do that, its php and database driven

thanks

wildjokerdesign
01-04-2007, 08:25 PM
We would need a lot more info then you have given to answer fully. :) It depends on the cart you are using. Normally you can find information on such things at the site where you got the cart.

As a general rule it would mean you would simply move the files to new sub directory and then change some paths in the config file of the program. Now if for some reason the program stores some paths in the database you may need to go in via phpMyAdmin and change the values there manually also.

To move or duplicate files and directories on the server direct you can use SSH or you can do what I do and use WinSCP (http://winscp.net/eng/index.php). It is a free open source program that gives you a bit more options then FTP programs but works in a similiar manner... well kinda. The learning curve on it is not too bad.