Thanks for all the replies. I have taken on board what you have said and reconstructed my site using just one script for each application I have. Previously I had one script per user, which meant a lot of duplication. Obviously, the present system is a lot more scalable. I have done what you suggested and passed each script mysql data and session data. I didn't know you could use session data this way (in fact I didn't really know what you would use it for). Now that I do, I can see the potential it has. Part of the problem of being self taught is that you can read all the books and web info, but often this is not enough to learn how different structure can be used. "The List" has helped me a lot to find out about different ways to use different functions. Thanks to you all again. Santilal -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Jack Timmons Sent: Wednesday, 31 December 2008 10:20 a.m. To: thelist at lists.evolt.org Subject: Re: [thelist] PHP Functions On Tue, Dec 30, 2008 at 2:33 PM, Santilal Parbhu <santilal at scorpioneng.co.nz > wrote: > Hi Blake, Jack > > Thanks for the replies. It sounds like I have not explained what I am > trying to do very clearly. Let me try again. > > <snip> > > Thanks again for the advice. > > Santilal > > So basically you have a group of users (in the form of leagues, associations, etc) that will have access to their teams information, games, roster, etc. I really don't see how you might have to duplicate scripts. Have one script, and pass it MySQL data, Session data, etc. I assume you're using MySQL; if you're not, then a flat-file php script for each team -is- probably best. I'm also assuming you're doing includes: If not, there's a php.net file you can reference on it. .htaccess (or, even better, direct Apache configs) have abundant tutorials, many that can even be found on the Apache site  (I keep it bookmarked because I've had to forward it so often). I may be missing the case you are trying to make, or maybe your idea pattern is stuck in what you currently set up and it's hard for you to see what we mean.  - http://httpd.apache.org/docs/1.3/howto/htaccess.html -- -Jack Timmons http://www.trotlc.com -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt !