im wondering what's the best method to do the above list:
it is for alliance @ MMORPG game
-the administrator of alliance have 10 slots for creating ranks ... each rank have it's own permissions (in total they are 9 permissions possible)
something like
rank 1 = all permissions
rank 2 = just 3 permissions from 9
rank 3 = 8 permissions
they are not single level permissions like 1 = admin , 2 = user they are like this
1 = allow to see messages, 2 = allow to kick members etc
my question is what it will be the best method to implement this ... i was thinking about something but it's space taking
create 10 columns in table for rank name and another 10 for rank permissions.
but it does seem a little messy in this way.
is there another solution ? thank you
.htpasswd Registration Form
Hi,I wanted to make an htpasswd registration form.I found this code on the internet but have no idea how to use it.Can anyone help?<?php// Register Userfunction regUser() { $filename
rename the file
File.txtCode: ***DOCUMENT***..DN:000044255..CB:..SN:..PY:2009..ED:LA..ED:Home..ID:***DOCUMENT***..DN:000044254..CB:..SN:..PY:2009..ED:LA..ED:Edition..PT:ID:Code: <?php$file = fopen($argv[1],
Weird Problem with curl while sending data
I am facing a weird problem with sending data to a site via curl.If i send the value by thisCode:
Post PHP form to non-existing page
The company that I work for host their PHP code on IIS on a Windows server, no Apache, so no mod_rewrite. I recently wrote a custom framewok that is loosely based on Codeigniter. To get SEF URL's 'n
Filtering an Array Based on Value
I have a very simple script set up that pulls data from a database and is output using this code:Code: Print "<table border cellpadding=3>";Print
sql error
I have been looking at this code for 20mins and can't work out what I am doing wrong. There is something wrong with my sql statement below is the error and the code. what I am trying to do is to edit
php code generators
AllWhilst enjoying learning a new language i have come accross a number of free code generators out there to assist and save a lot of timecan anyone recommend what are the best free code generators
Problem assigning value to variable in "IF" function
Does this script makes sense? I am trying to take the value that is set to "authenticat" and write it to authentication.I think it is getting messes up by the $authenticat = "1"
Business Health Check
Hello I need to create an online business health check for a client it will be multiple choice and about 50 questions but the client has requested that the output/results of the health check needs to
UTL File problem
Hi