[wp-hackers] Mass install script help

info at blandt.com info at blandt.com
Mon Sep 25 20:43:28 GMT 2006


Hi!

I change it it with simple fwrite (php). But somehow I have that feeling that wordpress is using the database
connection + prefix of the first run of my script. Can you tell me where I can find database
config / variables which is used when you install wordpress?!



AS> On 9/25/06, info at blandt.com <info at blandt.com> wrote:
>> Hi!
>>
>> I made a script (mass-install.php) which I run and it then makes multiple installs of wordpress. But I have some trouble with it. Primary mass-install.php
>> contains all the codes and commands from wp-admin/install.php. And I have a "for" loop in it to change the database prefix for multiple blog installs using
>> the same database.

AS> All of these tables are going into the same database with the same
AS> user/pass? How are you changing the prefix? Paste a code snippet.

AS> Andy
AS> _______________________________________________
AS> wp-hackers mailing list
AS> wp-hackers at lists.automattic.com
AS> http://lists.automattic.com/mailman/listinfo/wp-hackers





More information about the wp-hackers mailing list