Sammy39 Posted May 6, 2007 Share Posted May 6, 2007 After a few headaches I finally got it working on my local server! Now I can mess around with it on my computer while I learn, but of course eventually I will be uploading pages to my site so I can also test it there as I work on it. Syncing both my current website/Mysql database with my local site in Dreamweaver/Mysql seemed to work by choosing between a few lines in a couple php files. One set of lines basically say localhost (to work locally) and the other www.mysite.com (when the edited pages are uploaded). Which ones are commented out depends on where it is. I assume I could do the same thing with oscommerce by just changing things in the two config.php files when needed... the ones for the shop and admin pages. Are there maybe other files where I would have to do this as well? Or perhaps there is a better way? Cheers Link to comment Share on other sites More sharing options...
Guest Posted May 7, 2007 Share Posted May 7, 2007 I assume I could do the same thing with oscommerce by just changing things in the two config.php files when needed... the ones for the shop and admin pages. Are there maybe other files where I would have to do this as well? Or perhaps there is a better way? there is..., you don't change anything but you use the host mapping of your pc so the configure.php files are always the same as on the server. Link to comment Share on other sites More sharing options...
Sammy39 Posted May 7, 2007 Author Share Posted May 7, 2007 there is..., you don't change anything but you use the host mapping of your pc so the configure.php files are always the same as on the server. Like a virtual host? Never actually used one before. But it sounds like this is a good time to. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.