Results 1 to 7 of 7

Thread: How can i get PHP source code from .php files
      
   

  1. #1
    manoilayans is offline Private
    Join Date
    Nov 2006
    Posts
    3

    Default How can i get PHP source code from .php files

    Plz help to get source code of PHP from the .php files ...

    Yours friendly
    manoilayans

  2. #2
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: How can i get PHP source code from .php files

    Php code will not show on the browser. It will not even show in a code grabber, as grabbers are only capable to grab the html output created by a php page.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  3. #3
    Robert's Avatar
    Robert is offline First Lieutenant
    Join Date
    May 2005
    Location
    Dallas, TX USA
    Posts
    296

    Default Re: How can i get PHP source code from .php files

    Could someone elaborate on what is meant by "source code"?

    im confused as to whether or not this is the same thing:

    I download or save the .php file to a folder on my computer, then "right-click" the file, select "Open with>Notepad for simple viewing or Dreamweaver MX for a more structured view..

    Is this the same as viewing the source code?
    Robert
    www.GraphXntrix.com
    Your Visual Revolution Solution

  4. #4
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: How can i get PHP source code from .php files

    Vewing the source code means vewing the code that creates an output on your browser. If the fles are pure html, what you see as source code is what actually the code of the file (page) is, but with php it is not like that. You only see the html code produced by the php code. The php itself cannot be downloaded or saved. When you visit a html page, the server answers the client request with the file content, when you visit a php page, the server interpretes the php code, and generates a response in html. What you see is this response, not the php code.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  5. #5
    Robert's Avatar
    Robert is offline First Lieutenant
    Join Date
    May 2005
    Location
    Dallas, TX USA
    Posts
    296

    Default Re: How can i get PHP source code from .php files

    Quote Originally Posted by navaldesign
    Vewing the source code means vewing the code that creates an output on your browser. If the fles are pure html, what you see as source code is what actually the code of the file (page) is, but with php it is not like that. You only see the html code produced by the php code. The php itself cannot be downloaded or saved. When you visit a html page, the server answers the client request with the file content, when you visit a php page, the server interpretes the php code, and generates a response in html. What you see is this response, not the php code.
    Fantastic, I really need to stop second guessing myself sometimes. I appreciate the clarification.
    Robert
    www.GraphXntrix.com
    Your Visual Revolution Solution

  6. #6
    manoilayans is offline Private
    Join Date
    Nov 2006
    Posts
    3

    Default Re: How can i get PHP source code from .php files

    thankz guys, 4 ur reply to me quotes.. but is there any possible to get the PHP code using any "File Operation"; ie., file read, file open etc.. in a specific website.. like http://www.sample.com/one.php

    Yours friendly,
    manoilayans (india)

  7. #7
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default Re: How can i get PHP source code from .php files

    No.....

    The only person able to copy a php file from a server to to their computer
    would be the owner/password keeper.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49