0
Does any body know about how to fetch data from website using php?
I want to learn how to fetch username & passwords from the website because i can not fetch it by myself so please help! share any code or zip file.
9 Respuestas
+ 1
Yes, probably it is for user names, but not passwords, passwords should be stored in database in a hashed format, not plain readable text.
This is also the reason why when user forget their password we send them a new generated password, because we can't tell them what their previous password was, because we store the passwords in a hashed format.
If you own the site then you normally have access to its database, there's no need to fetch information from website, you go and access the information straight from the database : )
+ 1
so how can we send the username and password to the database through PHP
+ 1
this information is very much for me thanks a lot.
+ 1
could you please share any code by which one can send the username and password direct to the database by PHP if you have please share.
+ 1
Sorry, I don't have a code for that, but if you visit this link below you can learn how to use PHP for accessing data.
http://wiki.hashphp.org/PDO_Tutorial_for_MySQL_Developers
If you are into learning, and you have a laptop/PC you can install XAMPP, it's a software package with Apache (web server) PHP, MariaDb (MySQL free version).
With that software you have a local server in your computer, where you can play and experiment.
https://www.apachefriends.org
+ 1
thanks programmers now I can resolve the problems
0
User names & passwords are confidential information, it would be illegal to fetch other people's credentials without their consent.
0
but if website is mine then it is mandatory to know the people details