By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,841 Members | 840 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,841 IT Pros & Developers. It's quick & easy.

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

P: 9
hi guyz!,
im using win xp, xampp version 2.5

Requirement: Upload resume from form and store in database and this would be "register.html" file
later i want to retrieve that resume from database n display it in "registerdisplay.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
Nov 21 '07 #1
Share this Question
Share on Google+
6 Replies


code green
Expert 100+
P: 1,726
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.godaddy.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
Nov 21 '07 #2

Markus
Expert 5K+
P: 6,050
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 usercontrolPanel, 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.
Nov 21 '07 #3

Atli
Expert 5K+
P: 5,058
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.
Nov 21 '07 #4

code green
Expert 100+
P: 1,726
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.
Nov 22 '07 #5

P: 9
hi guyz!
actually im able to connect to database in local system but i donno in godaddy.com i jus wanted to know......anywayz 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........but when i saw in database whole resume is stored....problem is when im trying to retrieve im getting half part of resume.........

plz help me
Nov 23 '07 #6

code green
Expert 100+
P: 1,726
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
Nov 27 '07 #7

Post your reply

Sign in to post your reply or Sign up for a free account.