Help with creating basic form in Dreamweaver.

I am creating a contact for in Dreamweaver CS6.  I have watched many tutorials which say basically the same thing.  I set up form by inserting form into div.
Then I insert- form-text field.  I fill out the id, label, click the "for" wrap label attribute, click "ok".  I see that "Name:" but do not see the input text box.  What am I missing??
This is the code:
<div id="request_for_info">
    <form action="" method="post" name="requestforinformation" id="requestforinformation">
      <table width="100%" border="0" cellpadding="6" cellspacing="0" id="reqinfotable">
        <tr>
          <td width="43%" align="right"><label for="firstname4">First Name:</label>
          <input type="text" name="firstname" id="firstname4"></td>
          <td width="57%" align="left"> </td>
        </tr>

In it's simplest form (pun intended), copy & paste this HTML5 form code into a new, blank document.  Save As test.html.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>HTML5 form</title>
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
</head>
<body>
<p>Contact Form</p>
<form id="contact" action="form-processing-script.php" method="post">
<label for="first_name">Name:</label>
<br>
<input name="first_name" id="first_name" type="text" required placeholder="First">
<label for="last_name"></label>
<br>
<input name="last_name" id="last_name" type="text" required placeholder="Last">
<br>
<label for="e_mail">E-mail:</label>
<br>
<input name="e_mail" id="e_mail" type="email" required placeholder="[email protected]">
<br>
<input name="submit" type="submit" value="Submit">
</form>
</body>
</html>
The other piece of this puzzle is the form-to-email script necessary to gather and process your form data.  Do you have a script yet?  If not, do you know which scripting languages your server supports?
Nancy O.

Similar Messages

  • Help with creating a form, I want to add a check box to enable me to unlock certain fields and deselect the block again

    Help with creating a form, I want to add a check box to enable me to unlock certain fields and deselect the block again

    Look to the right under "More Like This". Your issue has been discussed many many times. The error you are seeing is because you do not have enough free "contiguous" space on your hard drive. Read the other threads that address this issue to find how to solve the issue.
    Or, put "The disk cannot be partitioned because some files cannot be moved" into the search box at the upper right of this page.

  • Need help with php registration form! (Dreamweaver cs5)

    Im creating an advanced php registration form in dreamweaver. I need the following code for:
    ZIP / Postal code, date of birth.
                      or
    if u can help me how to create the entire form with the following fields That will be nice! Im a Newbie:
    First name, lastname, country, zip / postal code, date of birth, username, password, email, verified, and token.
    This is the database i have in mysql:
    User_id, INT, (10), UNSIGNED, NOT NULL, A_INCREMENT
    Firstname, VARCHAR, (50), NOT NULL
    Lastname, VARCHAR, (50), NOT NULL
    Country, VARCHAR, (20), NOT NULL
    Zip, INT, (12), NOT NULL
    Birth_date, DATE, NOT NULL    
    Username, VARCHAR, (15), NOT NULL
    Password, VARCHAR, (40), NOT NULL
    Email, VARCHAR, (100), NOT NULL
    Verified, ENUM, ('n','y'), NOT NULL
    Token, VARCHAR, (40), NOT NULL
    I need to know how to apply the insert recorset server behavior in dreamweaver cs5 so I can get it to run.
    I have been trying diff ways and i just can't get it right.
    Please help! Thanks!!!

    I'm not sure how much you know but first you have to connect your form to the database
    $con = mysql_connect("hostname","admin_name","password");
    Then you have to choose the database you want information be added to.
    mysql_select_db("database name goes here", $con);
    Then you have to write an sql function which will write it in the appropiate columns in your database
    $sql="INSERT INTO what column e.g members (First name, Last name, age, etc)
    VALUES (the names of the textfields on your form), actually double check that part
    ('$_POST[firstname]','$_POST[lastname]','$_POST[age]')";
    $result = mysql_query($sql);
    This is the first and most basic part just to give you an idea how it works.
    Within these snippets you will have to write much more which will beef up the security aswell as check if everything has been entered correctly etc

  • Help with creating a FORM Newbie Question

    Hi,
    I have created a FORM which is inserted into the database. I am a little bit confused to acquire the data from database when a user clicks on search button to check if this profile is already in the database.
    Please let me know if there is any TUTORIAL which can help me with this project.
    Thanks in advance to everyone.
    Regards,
    Venkatesha

    Venkatesha,
    I'm not sure I can give you too much help based on this limited information.
    I assume you created an Insert Record form with the Devloper Toolbox's Insert Record Form Wizard. I'm not sure if you are wanting a separeate search page where the user can check if a profile is already there before they try to fill out the form or if you want the page with the form on it to check and see if a user with that profile exists before it inserts the form info into the database.
    If you want a separate search page for checking profiles, you would need to hand code that page with a form to allow the person to check the profile by entering a value and then your code would query the database to see if there was a match. You could probably use the Custom Form Wizard to do some of that.
    If you want the page with the form on it to check and see if a user with that profile exists before it inserts the form info into the database, you would need to create a Custom Trigger on the Insert Record page. This Custom Trigger would need to be set to execute BEFORE the Insert operation. You would need to hand code the Custom Trigger to check the database for matching profiles and throw an error if it finds a matching one.
    Unfortunately, both these options require some hand PHP coding. For info on how to add Custom Triggers with ADDT, read the documentation provided with the ADDT software. Search the forums and tutorial pages for more detailed help.
    Shane

  • Help with creating a form - auto field recognition

    Hello there,
    I'm working with Adobe Acrobat 8 and Excel 2003 (very old I know)!
    I need to convert my excel form with lots of checkboxes into an Adobe form - using the autodetect field option in livecycle designer. The problem is, livecycle designer just will not detect my checkboxes no matter what I do.
    I've followed the guidelines - made them symmetrical shapes, acual excel checkboxes etc...still no luck. I have 127 checkboxes on my form and it gets updated on average 4x a month so we haven't got the time to manually put the checkboxes in!
    Can anyone help me with some tips on how to optimise my form to enable the conversion to succeeed?
    Thanks

    Venkatesha,
    I'm not sure I can give you too much help based on this limited information.
    I assume you created an Insert Record form with the Devloper Toolbox's Insert Record Form Wizard. I'm not sure if you are wanting a separeate search page where the user can check if a profile is already there before they try to fill out the form or if you want the page with the form on it to check and see if a user with that profile exists before it inserts the form info into the database.
    If you want a separate search page for checking profiles, you would need to hand code that page with a form to allow the person to check the profile by entering a value and then your code would query the database to see if there was a match. You could probably use the Custom Form Wizard to do some of that.
    If you want the page with the form on it to check and see if a user with that profile exists before it inserts the form info into the database, you would need to create a Custom Trigger on the Insert Record page. This Custom Trigger would need to be set to execute BEFORE the Insert operation. You would need to hand code the Custom Trigger to check the database for matching profiles and throw an error if it finds a matching one.
    Unfortunately, both these options require some hand PHP coding. For info on how to add Custom Triggers with ADDT, read the documentation provided with the ADDT software. Search the forums and tutorial pages for more detailed help.
    Shane

  • Help with creating a form

    I have to create a booking form online, which has a lot of
    text feilds & looks too messy when all the feilds are on the
    one webpage. The form can be split up into sections.
    What i am after is something where when the page is initially
    loaded, the first couple of fields show up, & once they are
    filled in, there's an almost auto-submit function which shows the
    next load of feilds etc. So the fields come up as the form is
    filled out, but the entries stay shown on the screen using cookies
    i presume?
    I'm pretty new to all this, but im alright at picking things
    up. I have done quite a few stringed togther drop down feilds using
    javascript before but thats about it.
    Is what i'm looking to do too advanced?
    & If anyone could point me in the right direction as to
    how to go about doing this itd be greatly appreciated :)
    Thanks!

    Venkatesha,
    I'm not sure I can give you too much help based on this limited information.
    I assume you created an Insert Record form with the Devloper Toolbox's Insert Record Form Wizard. I'm not sure if you are wanting a separeate search page where the user can check if a profile is already there before they try to fill out the form or if you want the page with the form on it to check and see if a user with that profile exists before it inserts the form info into the database.
    If you want a separate search page for checking profiles, you would need to hand code that page with a form to allow the person to check the profile by entering a value and then your code would query the database to see if there was a match. You could probably use the Custom Form Wizard to do some of that.
    If you want the page with the form on it to check and see if a user with that profile exists before it inserts the form info into the database, you would need to create a Custom Trigger on the Insert Record page. This Custom Trigger would need to be set to execute BEFORE the Insert operation. You would need to hand code the Custom Trigger to check the database for matching profiles and throw an error if it finds a matching one.
    Unfortunately, both these options require some hand PHP coding. For info on how to add Custom Triggers with ADDT, read the documentation provided with the ADDT software. Search the forums and tutorial pages for more detailed help.
    Shane

  • Need help with creating custom form

    hi all,
    i'm working on creating a new form. it has 2 blocks for 2 tables. headers and lines tables. the headers table mostly have columns that are id's from other tables. i.e. customer_id, location_id etc.. in my screen, obviously i would not show the id's. i'll display the descriptions / names of the id's instead like customer_name for customer_id... but in order to do this i created a table that joins more than 2 tables. so in the block query data source name, i enter the name of this view.. then i add a ON-INSERT, ON-UPDATE, ON-DELETE triggers at block level and i call the corresponding package which does the insert, update and delete. i'm able to insert but update and delete causes a problem. "ORA-01445: cannot select ROWID from, or sample, a join.. ".. i'm thinking the reason is that when the form does an update or delete, it locks the record which causes the error.. also the reason i need the view is because i need to be able to query the customer_name in the screen instead of the customer_id... what i can't figure out is how i can make this work... or a work-around may be...
    can anyone help.
    thanks

    Matt Rasmussen wrote:
    You're right that the form is locking the record so you just need to control how it locks the record with an on-lock trigger. From the Oracle Applications Developer's Guide:
    page 3-9:
    When basing a block on a view, you must code ON–INSERT, ON–UPDATE, ON–DELETE, and ON–LOCK triggers to insert, update, delete, and lock the root table instead of the view.
    Most of the on-lock triggers I have written follow this template:
    <pre>     SELECT     field1, field2, field3
         INTO     :block.field3, :block.field2, :block.field3
         FROM     view
         WHERE     rowid = :block.row_id
         FOR UPDATE OF field1, field2, field3;</pre>
    I think once you've added this trigger, your form will work the way you want it.hi,
    i tried your suggestion but still get the same error.. anyways, here are the details of what i have so far.
    here's my table.
    CREATE TABLE XXPN_VR_VOL_HEADERS_ALL
      VOL_HEADER_ID     NUMBER,
      CUSTOMER_ID       NUMBER,
      LEASE_ID          NUMBER,
      LOCATION_ID       NUMBER,
      VAR_RENT_ID       NUMBER,
      PERIOD_SET_NAME   VARCHAR2(15 BYTE),
      PERIOD_NAME       VARCHAR2(15 BYTE),
      IMPORT_FLAG       VARCHAR2(1 BYTE),
      IMPORT_DATE       DATE,
      CALC_TYPE         VARCHAR2(30 BYTE),
      PASSTHROUGH_FLAG  VARCHAR2(1 BYTE),
      COMMENTS          VARCHAR2(2000 BYTE),
      CREATED_BY        NUMBER,
      CREATION_DATE     DATE,
      LAST_UPDATED_BY   NUMBER,
      LAST_UPDATE_DATE  DATE
    );here's my view.
    create or replace view xxpn_vr_vol_headers_v ( row_id
                                                  ,vol_header_id
                                                  ,customer_id
                                                  ,customer_name
                                                  ,lease_id
                                                  ,lease_name
                                                  ,lease_number
                                                  ,location_id
                                                  ,location_code
                                                  ,var_rent_id
                                                  ,var_rent_number
                                                  ,period_set_name
                                                  ,period_name
                                                  ,import_flag
                                                  ,import_date
                                                  ,calc_type
                                                  ,passthrough_flag
                                                  ,created_by
                                                  ,creation_date
                                                  ,comments
                                                  ,last_updated_by
                                                  ,last_update_date )
    as
      select xvvha.rowid
            ,xvvha.vol_header_id
            ,xvvha.customer_id
            ,hp.party_name
            ,xvvha.lease_id
            ,pl.name
            ,pl.lease_num
            ,xvvha.location_id
            ,loc.location_code
            ,xvvha.var_rent_id
            ,pvr.rent_num
            ,xvvha.period_set_name
            ,xvvha.period_name
            ,xvvha.import_flag
            ,xvvha.import_date
            ,xvvha.calc_type
            ,xvvha.passthrough_flag
            ,xvvha.created_by
            ,xvvha.creation_date
            ,xvvha.comments
            ,xvvha.last_updated_by
            ,xvvha.last_update_date
        from xxpn_vr_vol_headers_all xvvha
            ,hz_parties hp
            ,pn_leases_all pl
            ,pn_locations_all loc
            ,pn_var_rents_v pvr
       where -1 = -1
         and xvvha.customer_id = hp.party_id (+)
         and xvvha.lease_id = pl.lease_id (+)
         and xvvha.location_id = loc.location_id (+)
         and xvvha.var_rent_id = pvr.var_rent_id (+);here's my ON-UPDATE trigger block level
    begin
      xxpn_vr_vol_data_pkg.update_vr_vol_hdr_data ( p_vol_header_id     => :XXPNVRVOLHDRS.vol_header_id
                                                   ,p_customer_id       => :XXPNVRVOLHDRS.customer_id
                                                   ,p_lease_id          => :XXPNVRVOLHDRS.lease_id
                                                   ,p_location_id       => :XXPNVRVOLHDRS.location_id
                                                   ,p_var_rent_id       => :XXPNVRVOLHDRS.var_rent_id
                                                   ,p_period_set_name   => :XXPNVRVOLHDRS.period_set_name
                                                   ,p_period_name       => :XXPNVRVOLHDRS.period_name
                                                   ,p_import_flag       => :XXPNVRVOLHDRS.import_flag
                                                   ,p_passthrough_flag  => :XXPNVRVOLHDRS.passthrough_flag
                                                   ,p_comments          => :XXPNVRVOLHDRS.comments
                                                   ,x_last_updated_by   => :XXPNVRVOLHDRS.last_updated_by
                                                   ,x_last_update_date  => :XXPNVRVOLHDRS.last_update_date );
    end;here's my code in ON-LOCK trigger block level
    begin
      select lease_id
            ,lease_name
            ,lease_number
            ,location_id
            ,location_code
            ,customer_id
            ,customer_name
            ,var_rent_id
            ,var_rent_number
            ,period_name
            ,comments
            ,period_set_name
            ,import_flag
            ,passthrough_flag
            ,created_by
            ,creation_date
            ,last_updated_by
            ,last_update_date
        into :XXPNVRVOLHDRS.lease_id
            ,:XXPNVRVOLHDRS.lease_name
            ,:XXPNVRVOLHDRS.lease_number
            ,:XXPNVRVOLHDRS.location_id
            ,:XXPNVRVOLHDRS.location_code
            ,:XXPNVRVOLHDRS.customer_id
            ,:XXPNVRVOLHDRS.customer_name
            ,:XXPNVRVOLHDRS.var_rent_id
            ,:XXPNVRVOLHDRS.var_rent_number
            ,:XXPNVRVOLHDRS.period_name
            ,:XXPNVRVOLHDRS.comments
            ,:XXPNVRVOLHDRS.period_set_name
            ,:XXPNVRVOLHDRS.import_flag
            ,:XXPNVRVOLHDRS.passthrough_flag
            ,:XXPNVRVOLHDRS.created_by
            ,:XXPNVRVOLHDRS.creation_date
            ,:XXPNVRVOLHDRS.last_updated_by
            ,:XXPNVRVOLHDRS.last_update_date
        from xxpn_vr_vol_headers_v
       where rowid = :XXPNVRVOLHDRS.ROW_ID
         for update of lease_id
                      ,lease_name
                      ,lease_number
                      ,location_id
                      ,location_code
                      ,customer_id
                      ,customer_name
                      ,var_rent_id
                      ,var_rent_number
                      ,period_name
                      ,comments
                      ,period_set_name
                      ,import_flag
                      ,passthrough_flag
                      ,created_by
                      ,creation_date
                      ,last_updated_by
                      ,last_update_date;
    end;properties for the block
    Query Data Source Type: Table
    Query Data Source Name: XXPN_VR_VOL_HEADERS_V
    DML Target Type: Table
    DML Target Name: XXPN_VR_VOL_HEADERS_V
    i'd appreciate any help.
    thanks

  • Help with creating basic menu using AS

    i am working on a portfolio site for my friend who is a
    photographer and am looking to create a basic menu that when any
    menu item is moused over it enlarges and the other menu items move
    to make room for this enlarged menu item. i have tried to show this
    in the attached image.
    it would be much appreciated if someone could offer me some
    assistance or tips. thank you.
    Link
    to preview example

    Hello and welcome to the forums,
    What I would do there is use something like "Tweener", found
    at
    http://code.google.com/p/tweener/.
    This is built to work with AS 2.0 and 3.0. You could also use Mc
    Tween, found at
    http://hosted.zeh.com.br/mctween/.
    I am most comfortable with Mc Tween, I just haven't had time to
    look at Tweener. Basically it would work something like the
    following....
    What the code does is when you rollover the menu item, it
    will scale to 110% of its original size and when you rollout it
    scales to 100%...
    In order to use mc tween, you have to download and install
    the extenstion first.
    Once you've done that you will be all set... but if you plan
    on eventually using AS 3.0, check out Tweener.
    HTH,
    Doug

  • Help with creating basic flow-charting app

    Hello,
    Warning: I am a Total Flex Newbie, but experienced programmer (C#, Ruby/Rails, ...)
    I am coming up to speed with Flex and want to dive in and improve my proficiency by creating a basic flow-charting app.
    The app will consist of a canvas plus a limited set of resize-able objects that will reside in a "tools" container.   These objects can be selected, dragged onto the canvas, connected to each other using a "connector" object -- either straight or right-angled lines, with the ability to be moved around the canvas while retaining their connections.
    That's it.
    I have been searching the forums and the web for pointers on how to start; but while I have found many related posts, I have not found enough to get me started.
    I would appreciate any pointers to example code or tutorials on how to approach/get started on this app.
    Thanks in advance!
    Dondi.

    Hi there, you can check out Chet Haase app Top Drawer, this app has a lot of the functionality that you want I think,
    http://graphics-geek.blogspot.com/search?q=top+drawer

  • Help with creating a layout.

    I need help creating a layout for my program, but am having tons of problems. I just an't that good at creating this, and it's been driving me insane.
    Here's the link to how I want it to look like. http://s94182144.onlinehome.us/randomstuff/layout.JPG
    In panel 1... that will be a cartesian plain, so it will pretty much be empty until lines and stuff are drawn in there.
    In panel 2, there will be two drop down menus and a couple of buttons
    In panel 3, there will be a bunch of things, with two buttons on the bottom.... and this section has to be scrollable.
    Any help with the basic layout will be helpful... I can put in the buttons myself. For reference, the whole programs size is 400x800.
    Thanks,
    sachit

    Read this section from the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html]How to Use Layout Managers. You can combine multiple Layout Managers to get the effect your want. By default the content pane uses the BorderLayout, so one approach might be:
    JPanel center = new JPanel(new BorderLayout());
    center.add(panel1, BorderLayout.CENTER);
    center.add(panel2, BorderLayout.SOUTH);
    getContentPane().add(center, BorderLayout.CENTER);
    getContentPane().add(panel3, BorderLayout.EAST);
    It turn you would layout panel1, panel2 and panel3 with the appropriate layout manager. Panel2 could be something like:
    JPanel panel2 = new JPanel( new BorderLayout() );
    panel2.add(comboBox1, BorderLayout.WEST);
    panel2.add(comboBox2, BorderLayout.EAST);
    JPanel bottom = new JPanel();
    bottom.add(button1);
    buttom.add(button2);
    panel.add(bottom, BorderLayout.SOUTH);

  • Help with complex Acrobat forms

    Hi Everyone,
    Background: I worked with another developer and completed a form for one of our clients but I need to know if the below change requests are even possible and if so if anyone would like to help with finishing the form. I am definitely willing to pay for an experts services as long as this can be done in a timely manner.
    What the form is - Our client wants a form that has text fields, drop down boxes and pages where images can be placed into the file and arrows drawn on it to point where the images are located on other images (some images are store layout maps). They would like to send this file out to their store managers, have them fill it in and then they would like the completed forms sent back so all of the information that was filled in (names, store names, addresses, square footage, etc) can be gathered into a database or excel file.
    What is completed so far
    - Cascading drop down boxes (user clicks on first drop down and whatever is selected changes the second drop down options, etc)
    - Most of the text fields for information gathering including city, state, store manager etc
    - Metric unit conversion boxes
    - Header text fields (read only) are used on several of the pages and are a combination of choices made in the drop down boxes and text fields.
    - Page footer info including page number
    - The over all layout of the pages is set
    Requested changes/additions
    Major must have:
    - Page Addition - There is a product page in the form (page 10) and the different stores will have a different number of these products to enter into the form so is there a way to add an ADD PAGE button on the page that when pressed will copy the product page to make a new product page? Now the product page has cascading drop down form fields on it so I would want to make sure the form fields are separate iterations of the form fields not just a duplicate of what was on the product page.
    - Footer adjustments - If we can do the above of adding pages then is it possible to at that point adjust the footer to reflect the page number changes? The footer shows the current page number then the form name and date.
    - Gather info - What is the best way to distribute these forms so that when returned completed the information can be gathered? I tried distributing via email which seems to work ok but the files might end up being too large for email so what is the best way to gather the completed info if say the files were ftp'd back?
    Minor:
    There are several minor change requests that I know are doable or that if not possible we can disregard. One that I am not sure about is if the color of the arrows in Acrobat can be changed from the default red?
    At first I was assuming that the Clients that get the forms needed Acrobat Standard or Pro 8 or 9 because I thought that the only way to add images was to use the Touch-Up Tool under advanced tools and right click to Place images. However I am pretty sure that if Reader Rights is enabled that images can be copy pasted into the file too if this is incorrect please let me know.
    If the above is not doable or if there is a better solution other than Acrobat forms to gather client information including allow the client to add images and place arrows then please let me know your thoughts.
    Any help or suggestions would be greatly appreciated and again id like to commission this out to anyone who is up for the challenge.
    Thanks in advance
    Jason

    Perhaps a better question is does anyone know a good developer?

  • I need help with Creating Key Pairs

    Hello,
    I need help with Creating Key Pairs, I generate key pais with aba provider, but the keys generated are not base 64.
    the class is :
    import java.io.*;
    import java.math.BigInteger;
    import java.security.*;
    import java.security.spec.*;
    import java.security.interfaces.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import au.net.aba.crypto.provider.ABAProvider;
    class CreateKeyPairs {
    private static KeyPair keyPair;
    private static KeyPairGenerator pairGenerator;
    private static PrivateKey privateKey;
    private static PublicKey publicKey;
    public static void main(String[] args) throws Exception {
    if (args.length != 2) {
    System.out.println("Usage: java CreateKeyParis public_key_file_name privete_key_file_name");
    return;
    createKeys();
    saveKey(args[0],publicKey);
    saveKey(args[1],privateKey);
    private static void createKeys() throws Exception {
    Security.addProvider(new ABAProvider());
    pairGenerator = KeyPairGenerator.getInstance("RSA","ABA");
    pairGenerator.initialize(1024, new SecureRandom());
    keyPair = pairGenerator.generateKeyPair();
    privateKey = keyPair.getPrivate();
    publicKey = keyPair.getPublic();
    private synchronized static void saveKey(String filename,PrivateKey key) throws Exception {
    ObjectOutputStream out= new ObjectOutputStream(new FileOutputStream(filename));
    out.writeObject(key);
    out.close();
    private synchronized static void saveKey(String filename,PublicKey key) throws Exception {
    ObjectOutputStream out= new ObjectOutputStream( new FileOutputStream(filename));
    out.writeObject(key);
    out.close();
    the public key is:
    �� sr com.sun.rsajca.JSA_RSAPublicKeyrC��� xr com.sun.rsajca.JS_PublicKey~5< ~��% L thePublicKeyt Lcom/sun/rsasign/p;xpsr com.sun.rsasign.anm����9�[ [ at [B[ bq ~ xr com.sun.rsasign.p��(!g�� L at Ljava/lang/String;[ bt [Ljava/lang/String;xr com.sun.rsasign.c�"dyU�|  xpt Javaur [Ljava.lang.String;��V��{G  xp   q ~ ur [B���T�  xp   ��ccR}o���[!#I����lo������
    ����^"`8�|���Z>������&
    d ����"B��
    ^5���a����jw9�����D���D�)�*3/h��7�|��I�d�$�4f�8_�|���yuq ~
    How i can generated the key pairs in base 64 or binary????
    Thanxs for help me
    Luis Navarro Nu�ez
    Santiago.
    Chile.
    South America.

    I don't use ABA but BouncyCastle
    this could help you :
    try
    java.security.Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
    java.security.KeyPairGenerator kg = java.security.KeyPairGenerator.getInstance("RSA","BC");
    java.security.KeyPair kp = kg.generateKeyPair();
    java.security.Key pub = kp.getPublic();
    java.security.Key pri = kp.getPrivate();
    System.out.println("pub: " + pub);
    System.out.println("pri: " + pri);
    byte[] pub_e = pub.getEncoded();
    byte[] pri_e = pri.getEncoded();
    java.io.PrintWriter o;
    java.io.DataInputStream i;
    java.io.File f;
    o = new java.io.PrintWriter(new java.io.FileOutputStream("d:/pub64"));
    o.println(new sun.misc.BASE64Encoder().encode(pub_e));
    o.close();
    o = new java.io.PrintWriter(new java.io.FileOutputStream("d:/pri64"));
    o.println(new sun.misc.BASE64Encoder().encode(pri_e));
    o.close();
    java.io.BufferedReader br = new java.io.BufferedReader(new java.io.FileReader("d:/pub64"));
    StringBuffer keyBase64 = new StringBuffer();
    String line = br.readLine ();
    while(line != null)
    keyBase64.append (line);
    line = br.readLine ();
    byte [] pubBytes = new sun.misc.BASE64Decoder().decodeBuffer(keyBase64.toString ());
    br = new java.io.BufferedReader(new java.io.FileReader("d:/pri64"));
    keyBase64 = new StringBuffer();
    line = br.readLine ();
    while(line != null)
    keyBase64.append (line);
    line = br.readLine ();
    byte [] priBytes = new sun.misc.BASE64Decoder().decodeBuffer(keyBase64.toString ());
    java.security.KeyFactory kf = java.security.KeyFactory.getInstance("RSA","BC");
    java.security.Key pubKey = kf.generatePublic(new java.security.spec.X509EncodedKeySpec(pubBytes));
    System.out.println("pub: " + pubKey);
    java.security.Key priKey = kf.generatePrivate(new java.security.spec.PKCS8EncodedKeySpec(priBytes));
    System.out.println("pri: " + priKey);
    catch(Exception e)
    e.printStackTrace ();
    }

  • Need help with Adobe Interactive Form Saving

    Hi Gurus,
    I need your help with Adobe Interactive form saving.
    I have written the code in pre-save event to prompt a message when user didn't enter any value before saving. The form data should not be saved upon clicking save (Just prompt the message and exit form the form). Can u please advice me how to do this.
    Regards,
    Srini

    see the link: http://forms.stefcameron.com/2008/04/
    it says:
    preSave: Failed validations will not prevent the form from being saved however Acrobat/Reader will issue a special warning message, after issuing the validation error message, to inform the user that the validations failed. Iu2019m guessing this is because the user may be saving the form to continue filling it at a later time so the save canu2019t be completely prevented.
    regards,
    BJagdishwar.

  • Help with creating a Quiz

    Hey i need help with creating a quiz with scoring and all.
    I need a helping hand so if you can get me started that
    would help a lot.
    Use the Question class to define a Quiz class. A
    quiz can be composed of up to 25 questions. Define the add method
    of the Quiz class to add a question to a quiz. Define the giveQuiz
    method of the Quiz class to present each question in turn to the user,
    accept an answer for each one, and keep track of the results. Define
    a class called QuizTime with a main method that populates a quiz,
    presents it, and prints the final results.
    // Question.java Author: Lewis/Loftus/Cocking
    // Represents a question (and its answer).
    public class Question implements Complexity
    private String question, answer;
    private int complexityLevel;
    // Sets up the question with a default complexity.
    public Question (String query, String result)
    question = query;
    answer = result;
    complexityLevel = 1;
    // Sets the complexity level for this question.
    public void setComplexity (int level)
    complexityLevel = level;
    // Returns the complexity level for this question.
    public int getComplexity()
    return complexityLevel;
    // Returns the question.
    public String getQuestion()
    return question;
    // Returns the answer to this question.
    public String getAnswer()
    return answer;
    // Returns true if the candidate answer matches the answer.
    public boolean answerCorrect (String candidateAnswer)
    return answer.equals(candidateAnswer);
    // Returns this question (and its answer) as a string.
    public String toString()
    return question + "\n" + answer;
    }

    Do you know why this lazy f&#97;rt-&#97;ss is back? Because when he posted his homework last week, some sorry-assed idiot went and did it for him.
    http://forum.java.sun.com/thread.jspa?threadID=5244564&messageID=10008358#10008358
    He didn't even thank the poster.
    It's the same problem over and over again. You feed the bears and it only teaches them to come back for handouts.
    My polite suggestion to the original poster: please do your own f&#117;cking homework.

  • Need help with creating a brush

    Hi guys,
    I wanted to ask for help with creating a brush (even a link to a tutorial will be goon enough ).
    I got this sample:
    I've created a brush from it, and i'm trying to get this kind of result:
    but it's only duplicates it and gives me this result:
    Can someone help me please understand what i need to define in order to make the brush behave like a continues brush instead of duplicate it?
    Thank you very much
    shlomit

    what you need to do is make a brush that looks like the tip of a brush. photoshop has several already but you can make your own that will be better.
    get a paintbrush and paint a spot kind of like what you did but dont paint a stroke. make it look kindof grungy. then make your brush from that, making sure to desaturate it and everything.
    EDIT:
    oh, and if you bring the fill down to like 10-20% your stroke will look better

Maybe you are looking for

  • Select data from different database

    hi, may I know how to select data from different database? for example, I've 2 databases, OracleDB and OracleAR Connect with OracleAR in SQL*Plus select * from OracleDB.TableName does Oracle support this kind of query? how can I retrieve data from ot

  • Time machine cant see old backups with New Macbook

    Hello, I recently migrated from an iMac to a MacBookPro6. I plugged in my externals hard drive into my Macbook and was accessing old backups from my iMac without a problem. THEN I used the hard drive to backup with time machine and now I cannot acces

  • Configure the Iplanet Directory server 5.0 not to allow NULL BINDs.

    How to restrict connection of user without authentication, via a ‘Null Bind’, what I can see in access log is connection of user BIND DN=”” which I don’t want. Is there any way to come over this?

  • Lm137 model behavior

    I have a spice model for a LM137 negative voltage regulator which I obtained from a McGill website (http://www.rcsm.ece.mcgill.ca/~rfic/EC2/SPICE_MODE​L_LIB.htm). I have developed a simulation using this device as well as the standard LM117 provided

  • Autofill gradient mesh points

    Hello everyone.  I'm working on a school assignment with the gradient mesh (portrait of our face), great tool and all, but I'm getting tired of clicking a point then switching to the eyedropper and filling it with the color near by.  Is there any way