68 users online (0 members and 68 guests)  


  Results 1 to 2 of 2

Related

  1. Serving up html using cgi-perl    Forum: CGI Perl Forum
    Replies: 4
  2. Perl/HTML issue    Forum: CGI Perl Forum
    Replies: 0
  3. A question about the html&perl    Forum: CGI Perl Forum
    Replies: 11
  4. How to email a HTML url in Perl    Forum: CGI Perl Forum
    Replies: 0
  5. Replies: 0
  1. #1
    nadia2000's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2004
    Posts
    1

    Question How to post a variable from HTML to perl and from perl to HTML

    Hi...I have an HTML file contains login data like username how can i pass this value to another HTML file or another perl file or asp file and if I have this data in perl file how can I pass it to the HTML file what code I need to put?

    Thanks
    Nadia

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hello,

    the three most common methods are -

    querystring: index.cgi?username=badger for example
    in a form: one page creates a form, then the user submits it
    sessions: do not know if perl supports sessions, but asp certainly does.

    the way each language handles these will be different in each case. If you have any specific examples I could probably post a more specific answer.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?



Tags for this Thread