|
Functions
Profile
- Profile registratoin
- Image registeration
- Delete/modify function
- Password protection
- Items can be modified by users
- Image size, number, items can be set by admin
- Display number in a page can be change by admin
- Icons can be used for Menu, Top link
- Easy set on a browser
- Style sheet, sentenses in <HEAD>~</HEAD>
- Auto link to strings from http://
- Option to send a email when updated
- Admin only mode allows to register by admin only
- Member only mode allows to register by members only
- Display registration list
- Time can be set as either an offset from GMT or local time
- Easy set due to a signle file
- Upgreaded version of Profile
Updates from profile.cgi
- Basic function is the same as profile.cgi. The code has been optimized.
- Modified to not use cgi-lib.pl and jcode.pl. Instead, the perl packages of GD and Jcode are required.
- Deleted maximum registratoin number. Unlimited registratoin is allowed.
- Added local time mode. Administrator can select either local time or an offset from GMT for update time.
- Further upgread, modification are taking place in this version.
Upgread method
Replace profile2.cgi after modified the perl path in the first line in the script. All setup will be inherited from previous version. The data and setup file are compatible with profile.cgi.
Installation
- Put profile.cgi into a CGI executable and writable directory.
- Modify the Perl path of the first line of profile.cgi to match your server environment.
- Modify permission of profile.cgi properly.
- Open profile2.cgi on your browser and set admin password when it asks.
- Press admin link and setup environement in the setup page.
- You can use as Profile 2 now
Security
The permission of the updated image files are automatically modified to 0666. However, any files can be uploaded by anyone. To have tight security, it is recommended to have an image upload directory which is different than cgi execution directory and the directory where the files will be stored should not be a CGI executable by server setting.
Sample and Source
Revision history
- 2.006 : 1/23/06 : Added upload processing of non-image files.
- 2.005 : 1/8/06 : Fixed image processing.
- 2.004 : 1/7/06 : Fixed a typo.
- 2.003 : 1/6/06 : Fixed mime encode. Fixed delete bug.
- 2.002 : 11/23/05 : Fixed typo.
- 2.001 : 11/19/05 : Modified to display unsupported image format.
- 2.0 : 11/16/05 : Optimized profile.cgi.
|