Results 1 to 8 of 8
  1. #1

    Default Istoryan's, pde patabang ug trap using jsp. my code kai naa sa ubos. Thank you!


    Ask lang pud tah ko what are the steps unsaon pagbutang ug picture sa mysql! nosebleed ko!

    Thank you!



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <!--


    Name : F.Y. I
    Description: A two-column, fixed-width design with dark color scheme.
    Version : 1.0
    Released : 20101122

    -->
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title> Registration </title>
    <link href="style.css" rel="stylesheet" type="text/css" media="screen" />
    </head>
    <body>
    <div id="wrapper">
    <div id="header">
    <div id="menu">


    </div>
    <div id="logo">
    <h1><a href="fyi.html">For Your Information </a></h1>
    <p> Connecting people</p>

    </div>
    </div>
    <div id="banner">&nbsp;</div>
    <!-- end #header -->
    <div id="page">
    <div id="page-bgtop">
    <div id="page-bgbtm">
    <div id="content">
    <div class="post">

    <h1 class="title">Registration Form </h1>



    <form action= "REGISTER.jsp">

    <table border = 0>
    <tr>
    <td> <label for="username">Username:</label> </td>
    <td><input name="username" id="username" value="" type="text" /> </td>
    </tr>
    <tr>
    <td> <label for="pass">Password:</label> </td>
    <td><input type="password" name="pw" size="20" value=""> </td>
    </tr>
    <tr>
    <td> <label for="Name">Name:</label> </td>
    <td><input name="name" id="name" value="" type="text" /> </td>
    </tr>
    <tr>
    <td> <label for="address">Address:</label> </td>
    <td><input name="address" id="address" value="" type="text" /> </td>
    </tr>
    <tr>
    <td> <label for="zipcode">zip code:</label> </td>
    <td><input name="zipcode" id="zipecode" value="" type="text" /> </td>
    </tr>
    </tr>
    <tr>
    <td> <label for="***">***:</label> </td>
    <td><input name="***" id="***" value="" type="text" /> </td></tr>
    <tr>
    <td> <label for="eadd">Email Address:</label> </td>
    <td><input name="eadd" id="eadd" value="" type="text" /> </td>
    </tr>
    <tr>
    <td> <label for="pnum">Phone Number:</label> </td>
    <td><input name="pnum" id="pnum" value="" type="text" /> </td>
    </tr>
    <tr>
    <td> <label for="cnum">Cellphone Number:</label> </td>
    <td><input name="cnum" id="cnum" value="" type="text" /> </td>
    </tr>
    <tr>
    </tr>
    <tr>
    <td><br> <a href src ="fyi.html"><input name="Register" style="margin-left: 40px;" class="formbutton" value="Register" type="submit" /></a></td>
    <td> </td>
    </tr>
    </table>
    </form>








    <!-- end #content -->
    <div id="sidebar">





    </body>
    </html>

  2. #2

    Default Re: Istoryan's, pde patabang ug trap using jsp. my code kai naa sa ubos. Thank you!

    bro, ang path sa image file ang ibutang sa imo DB.

  3. #3

    Default Re: Istoryan's, pde patabang ug trap using jsp. my code kai naa sa ubos. Thank you!

    post your java(jsp) source code

  4. #4

    Default Re: Istoryan's, pde patabang ug trap using jsp. my code kai naa sa ubos. Thank you!

    please use the code tag

  5. #5

    Default Re: Istoryan's, pde patabang ug trap using jsp. my code kai naa sa ubos. Thank you!

    your form must have a method and an enctype attribute to get the files. ang front end ra man ni imo gi post, unsa man ang code sa imo register.jsp?

    have a seperate folder sa imo uploads then ang path lang ang i insert sa db

  6. #6

    Default Re: Istoryan's, pde patabang ug trap using jsp. my code kai naa sa ubos. Thank you!

    There are two suggested and common ways to store a picture on your DATABASE (not on mysql!).

    (1) Use BLOB attribute. You need some research to do this somehow.

    (2) Use the filename of the image and store that filename on your database. Make sure to concatenate an encryption string to avoid duplication of filenames. If you have the filename, you can upload the image through php.

    I prefer to use (1) because its more accurate and professional.

  7. #7

    Default Re: Istoryan's, pde patabang ug trap using jsp. my code kai naa sa ubos. Thank you!

    ang .jsp nimu ani bai?
    OT: hapit na raba ni e pass

  8. #8

    Default Re: Istoryan's, pde patabang ug trap using jsp. my code kai naa sa ubos. Thank you!

    USC ka bro??

  9.    Advertisement

Similar Threads

 
  1. Replies: 21
    Last Post: 04-18-2013, 09:43 AM
  2. Asa pde magpaprint ug shirt ??
    By ididntellu in forum General Discussions
    Replies: 21
    Last Post: 12-07-2011, 04:12 PM
  3. asa ta pde mkapalit ug DVD with Song Book sa platinum?
    By kolot182 in forum General Discussions
    Replies: 0
    Last Post: 05-09-2010, 05:06 PM
  4. Kinsa naka try ug print using LIGHTSCRIBE?
    By yugi in forum Computer Hardware
    Replies: 29
    Last Post: 02-13-2009, 10:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top