A while ago I downloaded version 3.0 Beta. I added code to it to make the colums sortable and it works very good. I just saw that there is a newer version now, I can't find a changelog of what have changed though!
If you want I can send you the edited code.
For password protecting I used Realm Authorization of Apache with .htacces files.
But you can add your own database of user and passwords for authorization.
what I did was something like
.htaccess contents
AuthName "Cgt-Access"
AuthType Basic
AuthDBMUserFile /usr/local/apache/passwd/dbpasswords.dat
AuthDBMType DB
if you put this file in any directory then apache will ask for user name and password. But you need to make that dbpasswords.dat file by yourself. you can find on google how to do that.
Regards
Rainbow
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have phpCodeGenie up and running and have started generating my pages. There are a couple things I am curious about learning.
1) How to I create sortable colums?
2) How to I password protect my pages so only authorized people can add, delete and modify data?
Thanks,
Jason
Hi Jason,
A while ago I downloaded version 3.0 Beta. I added code to it to make the colums sortable and it works very good. I just saw that there is a newer version now, I can't find a changelog of what have changed though!
If you want I can send you the edited code.
For password protecting I used Realm Authorization of Apache with .htacces files.
But you can add your own database of user and passwords for authorization.
what I did was something like
.htaccess contents
AuthName "Cgt-Access"
AuthType Basic
AuthDBMUserFile /usr/local/apache/passwd/dbpasswords.dat
AuthDBMType DB
if you put this file in any directory then apache will ask for user name and password. But you need to make that dbpasswords.dat file by yourself. you can find on google how to do that.
Regards
Rainbow
Hi Rainbow,
I'm also interested in sorting results by columns, can you please send me the edited code ?
BTW, PCG is great ! It fulfills most of my requirements as a professional developer.
Thank you
Chris