Code Sharing

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/36082?pagenum=1
04 November 2025, 18:47

Topic


dvokt
Code Sharing
30 September 2002, 11:00


Is it possible to share the code amongst multiple website on a single server?
IOW, I'd like to have a D:\snitz folder with shareable code. Then I would create a real /forum folder in each website. Each having a default.asp that contains specific configuration info for that site and "includes" the needed code from the D:\snitz folder.
I have done this with other apps. It makes it very easy to maintain and upgrade the code.
Dan Vokt
danv@danv.com<

 

Replies ...


dayve
30 September 2002, 11:56


you can not share absolute paths the way you are requesting. you can create a virtual directory that can access files from a remote location, that's basically how websites work in general in the first place.
are you trying to share a database?<
© 2000-2021 Snitz™ Communications