such as the user's avatar some people say is saved on the server I do not know what the server is what ah in my mind there is no concept I know that the database is to keep things like the database can not save the picture. What do you want the database to do if the server is able to save things?
Reply to discussion (solution)
1, the database is able to save pictures (binary form), but generally no one does so, too much space.
2, the general practice is to put the picture alone on a server, the path of the picture exists in the database.
3, the server has many kinds of: database server, Apache (Web server) and so on.
4, to Apache+php+mysql do explain:
client browser------"Request-----" Apache Server-----"PHP communication------" PHP dynamic call MySQL database (increase and deletion check, etc.)
1, the database is able to save pictures (binary form), but generally no one does so, too much space.
2, the general practice is to put the picture alone on a server, the path of the picture exists in the database.
3, the server has many kinds of: database server, Apache (Web server) and so on.
4, to Apache+php+mysql do explain:
client browser------"Request-----" Apache Server-----"PHP communication------" PHP dynamic call MySQL database (increase and deletion check, etc.)
Still do not understand the role of the server
I am also a novice to teach you about my understanding and hope to help you
Servers are like chopsticks and the database is like a dish of dishes website program like people
People use chopsticks to eat dishes in the dish.
As for saying that the picture is saved on the server, it should be saved on the server host (if there is any mistake, God help to correct it)
Landlord said the server can save things that want the database to do? Database is used to save data let us call directly if the landlord to learn a paragraph should be naturally understood
Even if the image is saved on the server, it will save his address in the database and then call it through the address.