[imp] Help for an newbie
Brent J. Nordquist
bjn@horde.org
Tue, 6 Feb 2001 10:25:39 -0600 (CST)
---------------------- multipart/mixed attachment
On Tue, 6 Feb 2001, Sergio Vergata <vergata@stud.fbi.fh-darmstadt.de> wrote:
> Can anyone show me an "standard" file for the important parts??
Attached, how it looks for MySQL; and in prepend.php3:
require($_PHPLIB["libdir"] . "db_mysql.inc"); /* Change this to match
your database. */
Please tell us what version of IMP you're using, and also all the other
pieces (Apache, PHP, etc.). What the local.inc and prepend.php3 files
look like depends on what storage you're using (MySQL, PostgreSQL, shared
memory), etc.
--
Brent J. Nordquist <bjn@horde.org>
Yahoo!: Brent_Nordquist / AIM: BrentJNordquist / ICQ: 76158942
---------------------- multipart/mixed attachment
PD9waHANCi8qDQogKiAkSG9yZGU6IGhvcmRlL3BocGxpYi9sb2NhbC5pbmMs
diAxLjMuMi43IDIwMDAvMDkvMjEgMTM6NDg6NDMgYmpuIEV4cCAkDQogKg0K
ICogVGhpcyBpcyB0aGUgSG9yZGUgbG9jYWwuaW5jIGZpbGUgZm9yIFBIUExJ
Qi4gWW91IGNhbiBlaXRoZXIgaW5jbHVkZQ0KICogdGhpcyBmaWxlIGluIHlv
dXIgbG9jYWwuaW5jLCByZXBsYWNlIHlvdXIgbG9jYWwuaW5jIHdpdGggaXQs
IG9yDQogKiBjb3B5IHRoZSBuZWNlc3NhcnkgY29udGVudHMgb3Zlci4gVGhl
cmUncyBubyBuZWVkIGZvciB0aGVzZSB0byBiZQ0KICogdGhlIG9ubHkgY2xh
c3NlcyBpbiBsb2NhbC5pbmMuDQogKg0KICogUGxlYXNlIHJlYWQgdGhyb3Vn
aCB0aGlzIGZpbGUncyBjb21tZW50cyB0byBtYWtlIHN1cmUgdGhlIHNldHRp
bmdzDQogKiByZWZsZWN0IHlvdXIgZGVzaXJlZCBjb25maWd1cmF0aW9uLg0K
ICovDQoNCg0KLyoNCiAqIFNlc3Npb24gc3RvcmFnZSBkZWZpbml0aW9uDQog
Kg0KICogVG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