Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Generate simple HTML

    Hi! So I have a perl script that I wrote that will generate an output file containing a list with file extensions, and affiliated rules that go with code review for that file. Here is an example:

    Code:
    /vobs/bus_platform_vob/financial/opcodes/fm_bill/fm_bill_make_bill.c
         Limit line length to 80 chars.
         Indent lines with tab
         Use goto statements to hand errors/exceptions and to have a common exit point from the function.
         Use PIN_FLIST_DESTROY_EX instead of PIN_FLIST_DESTROY.
    
    /vobs/bus_platform_vob/financial/opcodes/fm_bal/fm_bal_get_balances.cpp
         Limit line length to 80 chars.
         Use proper try/catch blocks to handle error/exceptions.
         Indent lines with 4 spaces
    I want to generate an HTML page (using this output file) with CGI that will:
    1.) print out the file names as headers
    2.) list the rules below it as a list (with check boxes next to each rule)
    3.) have a box at the bottom of the page where one can input text into it as a value to be saved.

    I think this is simple to do, but I am a total newbie and this is really hard. I thought creating the perl script was hard enough, but I am struggling with this last bit of CGI. Any help would be greatly appreciated! Thanks!

  • #2
    New Coder
    Join Date
    Aug 2009
    Location
    in front of the keyboard
    Posts
    17
    Thanks
    1
    Thanked 1 Time in 1 Post
    If you post the code you use now, people are going to be more able to help you.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •