profile.cgi

Top Japanese Page

Functionalities
    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
  • There is an ungreaded version Profile 2.
Installation
  1. Perl package, GD needs to be installed in your server.
  2. Put profile.cgi and cgi-lib.pl into a CGI executable and writable directory.
  3. Modify the Perl path of the first line of profile.cgi to match your server environment.
  4. Modify permission of profile.cgi properly.
  5. Open profile.cgi on your browser and set admin password when it asks.
  6. Press admin link and setup environement in the setup page.
  7. You can use as profile 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
    Sample(ja) Sample of the setup page(ja)
    profile.cgi cgi-lib.pl

Other samples of usages.
Revision history
  • 1.258 : 1/23/06 : Added non-image file upload processing.
  • 1.257 : 1/8/06 : Fixed file name processing.
  • 1.256 : 1/7/06 : Modified image process. Deleted jcode.pl
  • 1.255 : 10/21/05 : Fixed MIME
  • 1.254 : 10/1/05 : Added copyright link
  • 1.253 : 7/2/05 : Removed a new line of the end of the line
  • 1.252 : 7/1/05 : Modified member password field to be in new register page only
  • 1.251 : 6/30/05 : Added member only password function
  • 1.250 : 3/31/05 : Modified a default option of sendmail
  • 1.249 : 3/28/05 : Added an option to send an email when updated
  • 1.248 : 3/19/05 : Added an option to modify the name field. Added an option to change display order
  • 1.247 : 3/6/05 : Added an option to display list of registees in the same page
  • 1.246 : 3/5/05 : Added registee list option and order optoin
  • 1.245 : 2/21/05 : Fixed a bug of password match
  • 1.244 : 2/9/05 : Added to ask password when register button in admin only mode
  • 1.243 : 2/8/05 : Commented out CGI::Carp
  • 1.242 : 2/7/05 : Added admin only mode
  • 1.241 : 2/7/05 : Fixed Location:
  • 1.240 : 2/6/05 : Added CGI::Carp
  • 1.239 : 5/17/04 : Added error message when Enter is pressed while modification
  • 1.238 : 3/20/04 : Modified to be able to change password name
  • 1.237 : 2/20/04 : Added an option to change image location
  • 1.236 : 2/14/04 : Modified to be able to change item header name
    Added an maximum upload size by one person
  • 1.235 : 2/6/04 : Modified to be able to change the first line of the register, mdoify form
    Added id=button <input type=butotn> for style_sheet
  • 1.234 : 2/5/04 : Modified to be able to change previous, next page link location
  • 1.233 : 7/1/03 : Modified to fit maximum width with a small image
  • 1.232 : 6/30/03 : Modified so that admin can change each password
  • 1.231 : 5/25/03 : Improved auto link
  • 1.230 : 5/10/03 : Fixed a bug of upload file size
    Fixed password input feild size
  • 1.229 : 4/21/03 : Modified to be able to change comments of the images
  • 1.228 : 4/19/03 : Added mergin to maximum upload size
  • 1.227 : 4/15/03 : Added table layout optoin
    Added max file size option
  • 1.226 : 4/6/03 : Added an optoin to change headers
  • Ver 1.225 : 3/24/03 : Added password functoin
  • Ver 1.224 : 3/12/03 : Added an option to replace strings from auto link
  • Ver 1.223 : 3/8/03 : Added page display limitation in a page. Added version information display on the page.
  • Ver 1.222 : 3/6/03 : Deleted $cgibin option
  • Ver 1.221 : 3/4/03 : Added auto link from http://
  • Ver 1.22 : 2/27/03 : Fixed a bug to modify other person's password unexpectedly when admin tried to modify his/her registration. Added an option ot change textarea. Added extra update file generation.
  • Ver 1.211 : 2/25/03 : Added copyright. Added admin explanations.
  • Ver 1.21 : 2/24/03 : Fixed errors. Added an option to set background. Added updated time on each registrations.
  • Ver 1.2 : 2/23/03 : Added admin setup page
  • Ver 1.11 : 2/17/03 : Imporved image file extention. Added a link to top
  • Ver 1.1 : 2/15/03 : Added delete function. Deleted blank when no image