can someone see my php source?

Discussion in 'Security' started by BAM78, Jul 10, 2009.

  1. #1
    i made a script and somehow another site put up the same type of script

    is there anyway for them to see my php source through the web? :confused:

    im using

    Server version: Apache/2.2.3
    Server built: May 28 2009 12:49:04

    PHP 5.2.6 (cli) (built: May 26 2009 22:33:42)
    Copyright (c) 1997-2008 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
     
    BAM78, Jul 10, 2009 IP
  2. lvyassine

    lvyassine Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    No one can see your PHP source code from a Browser
     
    lvyassine, Jul 12, 2009 IP
  3. awesometbn

    awesometbn Peon

    Messages:
    268
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    PHP code is processed on the server before output is viewed by a browser request. So unless someone else can get on the command line or file manager of your web server to view the original .php file, your source code will be hidden from regular users in a web browser. For example, when you type in php variables in your source code, those variables are replaced with the actual data when the output or result of the script is viewed in a browser. Does that help? Or did you have other questions? Thanks.
     
    awesometbn, Jul 12, 2009 IP
  4. drewtoby

    drewtoby Well-Known Member

    Messages:
    763
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    108
    #4
    probally just good at php and liked your idea
     
    drewtoby, Jul 13, 2009 IP
  5. jazzcho

    jazzcho Peon

    Messages:
    326
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Unless your site was hacked :)
     
    jazzcho, Jul 19, 2009 IP
  6. justdoit1

    justdoit1 Peon

    Messages:
    100
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    justdoit1, Jul 19, 2009 IP