upload resume from form to database and later retrieve in another php file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • priyakollu
    New Member
    • Nov 2006
    • 9

    upload resume from form to database and later retrieve in another php file

    hi guyz!,
    im using win xp, xampp version 2.5

    Requirement: Upload resume from form and store in database and this would be "register.h tml" file
    later i want to retrieve that resume from database n display it in "registerdispla y.php"
    cud u plz guide me how to acheive this........

    i have hosted this site in godaddy.com problem is
    mysql_connect(' localhost', 'mysql_user', 'mysql_password ');
    what should i write
    in place of "localhost" "mysql_user " "mysql_password "

    and what would be database name?
    i mean how to create tables in godaddy.com,and what would be "localhost" "mysql_user " "mysql_password "

    plz help me
  • code green
    Recognized Expert Top Contributor
    • Mar 2007
    • 1726

    #2
    Congratulations on asking completely the wrong question.
    You want to know how to connect to a database on godaddy.com.
    what should i write
    in place of "localhost" "mysql_user " "mysql_password "
    Don't know anything about godaddy but this is what you need generically
    "localhost" the address of the database ie dbnumber.godadd y.com
    "mysql_user " a user name with authority to access the database
    "mysql_password " The password for the database applicable to said user
    These should be in quotes as in your example
    and what would be database name?
    I can't believe you are asking that.
    But then I don't know how godaddy works
    Good luck anyway

    Comment

    • Markus
      Recognized Expert Expert
      • Jun 2007
      • 6092

      #3
      There's no way for us to tell you how to connect without you, yourself, knowing your connection details.

      code green was a little to abrupt with his response, but maybe he's had a bad day. Don't worry about him.

      What you'll need to do is, get in contact with godaddy.com then they should be able to provide you with the details!

      IT may even be in your usercontrolPane l, in which case your details would be stored in there and you can create tables through the phpMyAdmin.

      If this ISNT the case, contact godaddy. It's the only way!

      Hope you get there eventually.

      Comment

      • Atli
        Recognized Expert Expert
        • Nov 2006
        • 5062

        #4
        Hi.

        I think code green is running low on coffein today :)

        But as both he and Markus said, we can not tell you what to put in these fields, as the information used to connect to a MySQL database is very sensitive and usually kept far out of reach from prying eyes.

        You will have to contact your host to get this information, unless you are able to find it somewhere in a Control Panel.

        Comment

        • code green
          Recognized Expert Top Contributor
          • Mar 2007
          • 1726

          #5
          code green was a little to abrupt with his response, but maybe he's had a bad day. Don't worry about him.
          I think code green is running low on coffein today :)
          And I thought I was being nice.
          Well spotted guys, I am feeling under the weather at the moment.

          Comment

          • priyakollu
            New Member
            • Nov 2006
            • 9

            #6
            hi guyz!
            actually im able to connect to database in local system but i donno in godaddy.com i jus wanted to know......anywa yz i donno how to upload resume from form to database and later retrieve in another file.......for timebeing....i jus gave them option to copy n paste resume in text area..even in that i have doubt....when ever im trying to retrieve resume from database im not getting whole resume last part resume is coming........b ut when i saw in database whole resume is stored....probl em is when im trying to retrieve im getting half part of resume.........

            plz help me

            Comment

            • code green
              Recognized Expert Top Contributor
              • Mar 2007
              • 1726

              #7
              Can we see the code where you are downloading the data from the database?
              Are you getting any errors?
              At the moment we can only guess what is happening.
              Ta

              Comment

              Working...