question about php nuke 2 replies

Please wait...

Logi

-Analytical+

50 XP

12th January 2005

0 Uploads

620 Posts

0 Threads

#1 14 years ago

ok so i just got a webhosting package blah blah, and im fillin out the stuff for the config file and i need to kno wtf a

# $prefix: Your Database table's prefix # $user_prefix: Your Users' Database table's prefix (To share it)

is, anyone?

Edit and also i need to kno were to upload my HTML folder for nuke to my ftp so itll work.......




Rod Menass

공화국의 영원한 주석

50 XP

29th March 2005

0 Uploads

4,181 Posts

0 Threads

#2 14 years ago

A prefix is just a few letters that go in front of the tables created by PHP-Nuke, basically just to make things easier to find (from my experiences, anyway).

If you're using a whole table for PHP-Nuke, I would set the prefix to "nuke_" (minus quotes, I guess, the prefix shouldn't really matter, just set the user_prefix to something else, or to the same thing, I can't help with that one).

Or you can leave it blank. Just try to keep the PHP-Nuke installation on a database by itself if you do, or else things might get overwritten by other scripts and then everything goes to hell.




NoOdLe

Network \"Hitman\"

50 XP

4th November 2002

0 Uploads

421 Posts

0 Threads

#3 14 years ago

I agree with Torpov, keep everything in seperate dbs. Some hosting packages limit you in the ammount of DBs you can use. If that is the case, it just makes sure that they are unique. Think of it like a big file system, and databaes as filenames. If you wanted to save a picture, but you wanted to make sure it didn't overwrite an existing picture, you would give it a unique name.

PHPNuke uses a lot of commone table names (like users, data, etc...) So to keep it seperate it will prepend a name to it, (i.e. the Prefix) if you chose phpnuke_ then all the Tables would start with it. Its a very good pratice.

Your DB { names <-- bad, you don't know what app uses that table pie <-- even though pie is good, you still don't know who uses it phpnuke_names phpnuke_data }

This also allows you to have multiple PHPNuke apps on the same server If you use a different prefix for the second install then you will be able to use both.