How to download/extract a running PHP from a website?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shailen
    New Member
    • Jan 2007
    • 1

    How to download/extract a running PHP from a website?

    Hello,

    I have got the link of a running PHP script on a website, when when I try to download it, I get a plain HTML file which opens as the original website.

    I have tried to paste the link in my download manager, but still i get the HTML file.
    In addition, I have searched Google for information how to extract a PHP script but I couldnt get anything related.

    Help!!

    Do i need special software to extract it?

    Thank you.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Originally posted by shailen
    Hello,

    I have got the link of a running PHP script on a website, when when I try to download it, I get a plain HTML file which opens as the original website.

    I have tried to paste the link in my download manager, but still i get the HTML file.
    In addition, I have searched Google for information how to extract a PHP script but I couldnt get anything related.

    Help!!

    Do i need special software to extract it?

    Thank you.
    PHP is server side, HTML is client-side. You only get to view the HTML generated by the PHP. Imagine the security problems if you could view the PHP code, e.g. username, passwords, database code, etc.?!

    Comment

    • ronverdonk
      Recognized Expert Specialist
      • Jul 2006
      • 4259

      #3
      That is the whole point of using PHP: since it runs on the server, nobody can steal it with a right click!

      If you want to pinch and use server code, ask the script owner for a copy and permission to use it.

      Ronald :cool:

      Comment

      Working...