Download site with php [closed]

0

Good evening, I'm learning to program, so I'm trying to make a copy of a site with login system, password, and several users, I'm trying to download because it's one of the ways I use to learn with me, I watch the code, seeing its functionality and digging to learn better, is there any way to download a site ready with php and tals?

    
asked by anonymous 17.08.2017 / 04:48

3 answers

3

Downloading a site is not possible, but it is possible to get codes ready in many languages at GuitHub .

With respect to the PHP code, it is necessary to understand that PHP is a Server Side language, that is, it is executed by the server and can return the result in Client Side, such as HTML. Because it is run by the server, it is not possible to access the source code.

    
17.08.2017 / 11:35
5

Downloading site is impossible, this would be due to a security failure , as it would give you access to internal data such as database access configuration , etc ..

You can download only the files generated by the script, in the format HTML , images , Javascript , etc ...

You can find scripts ready.

    
17.08.2017 / 04:51
4

You do not need to download a "Any" site to learn these concepts. There are several ready-made systems, available free of charge, that already have this functionality incorporated and that you can study.

Two examples:

  • Laravel is a PHP Framework that already has this feature .

  • WordPress is a CMS that implements this in a way totally different .

  • You can download the systems and read the documentation to see how they work.

        
    17.08.2017 / 12:54