#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    0
    Rep Power
    0
    Hello people!.

    I have a very important problem for me . . . . I have a CGI that receive POP3 mails in WAP (this part receive only the header):

    . . . . . . .
    print "<card id="card1" title="Correo $user" newcontext="true">";
    print "n";
    print "<p align="left">n";
    $arroba = '(arroba)';

    for( $i = 1; $i <= $pop->Count(); $i++ ) {
    foreach ( $pop->Head($i) ) {
    if (/^(From|Subject):s+/i ) {
    s/<(.*?)>/$1/gm;
    s/@/$arroba/gm;
    print $_, "n";
    }
    }
    print "n";
    }
    . . . . . . . .

    But I want that this CGI also display a input variable in orden you can chose the mail you will download. This download is provided by another CGI allready working, BUT this CGI needs the user to select what mail you want to dowload.

    This is what I need:

    --------------------------
    1.- From: Marc
    Subject: Hi

    2.- From: Javi
    Subject: Bye


    Choose a mail
    [ ]
    ----------------------------

    I tried to do that with (remember, this is wml):

    print "Choose a mail<br/>";
    print "<input name="number" type="text" size="20" value=""/>";

    BUT I donīt know why this doesnīt work in the Perl CGI........

    Anybody know what I must do ???

    I will really appreciate any help !!

    Thanks to everyone.

    Javi



    [This message has been edited by santana (edited November 09, 2000).]
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    0
    Rep Power
    0
    this question is no longer interesting for me, I have another, please read the new one.


IMN logo majestic logo threadwatch logo seochat tools logo