Treehouse: Grow your CSS skills. Land your dream job.

copy a php file

  • # January 27, 2012 at 12:07 pm

    I want to know if it’s possible to copy a php file from a website.
    Take this example:, submit-form.php is ithe file that I want copy.
    Is this possible?

    # January 27, 2012 at 1:51 pm

    You won’t be able to copy the PHP.

    # January 27, 2012 at 6:44 pm

    Reason being that the php is executed on the server. When your browser loads the page, the php executes before it gets back to your browser.

    It would be an intense security issue if you could.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.