Hi there,

On 11 Sep 2003 at 15:30:14 -0500, Jason L Tibbitts III wrote:

> UP> I am going to keep the voting stuff at my university account since
> UP> there I can allow the web server to change files.
> 
> I could easily give you a MySQL database to play with if
> that would make things easier for you.

Well, this would make things much easier and better to
maintain. 

My problem at the moment is, that I running out of time. I
am going to work in a foreign country for the next two or
three next weeks. So I cannot do much at the web page.

Since the voting files are nearly ready one needs only to
change the functions 

function mail_is_registered($mail)
function id_is_registered($id)
function id_has_voted_already($id)
function register_mail_and_id( $email, $id )
function save_voting()

in file logo-competition/logos/voting/voting_functions.inc
that they access the mysql database instead of the
files. This should not be that hard but I cannot do it in
the next weeks.

Some notes to the files in the voting directory:

fvwm-web/logo-competition/logos/voting/colors.gif
        grey color image for changing colors

fvwm-web/logo-competition/logos/voting/index.php
        voting pages - displays the logos

fvwm-web/logo-competition/logos/voting/login.php
        page for login to the logo page - handles generation
        of id and sends it to the user

fvwm-web/logo-competition/logos/voting/logo_list.inc
        php array containing the logo names

fvwm-web/logo-competition/logos/voting/vote.php
        page to display voting result

fvwm-web/logo-competition/logos/voting/voting_functions.inc
        function descriptions for voting - is included by
        all php files

A good documentation about php-sql can be found at 
   http://www.php.net/manual/en/ref.mysql.php

If someone can do it please let me know.

Cheers, Uwe
-- 
  ,_,   For personal reply/mail put "fvwm"
 (O,O)  in the subject.
 (   )  Otherwise I won't receive our mail.
--"-"----------------------------------------
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to