Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default php view source

    can anyone tell me if there is a way in which anyone could possibly view the
    php source code on a web page through their browser without having telnet or
    FTP access to my web server?

    just in case you know?


    Christo Guest

  2. Similar Questions and Discussions

    1. Flexbuilder - tying source view to navigator
      In Eclipse there's an option where you can make it so whatever source file is selected in the source editing view, on the right side, is also...
    2. view source problem with hidden control using IE
      I have a page that has several controls on it and the controls are shown or hidden during postback. I show and hide them using the visible...
    3. Can't view datagrid html source in IE
      I have a weird problem. I have a webpage that displays a datagrid with data but when I use IE to view the html representation, the source has no...
    4. View Source doesn't really view source
      Now that I've converted my web site to PHP, I notice that, when I bring up one of my web pages and "view source", I don't get the original source,...
    5. Get source statement of a view, proc or func
      Question a) Its possible to do this by using the "syscomments" table. This table contains the source for the objects that you ask for. Only thing to...
  3. #2

    Default Re: php view source

    unless someone made a huge mistake: no.

    php servers parse the PHP file you request and make HTML of it, than
    send this HTML back to the client while the PHP-code stays on the
    server; and I'm very happy about that :D I don't know how your php files
    look like, but mine contain database passes :)

    Christo wrote:
    > can anyone tell me if there is a way in which anyone could possibly view the
    > php source code on a web page through their browser without having telnet or
    > FTP access to my web server?
    >
    > just in case you know?
    >
    >
    Harrie Verveer Guest

  4. #3

    Default Re: php view source

    If you talking about letting other people view php source through the web.
    You can try saving those files as name.phps and pull it up through your
    browser.

    "Harrie Verveer" <newsgroup{remove-this}@harrieverveer.com> wrote in message
    news:Vbydnbas3tC1JOrcRVnygA@zeelandnet.nl...
    > unless someone made a huge mistake: no.
    >
    > php servers parse the PHP file you request and make HTML of it, than send
    > this HTML back to the client while the PHP-code stays on the server; and
    > I'm very happy about that :D I don't know how your php files look like,
    > but mine contain database passes :)
    >
    > Christo wrote:
    >> can anyone tell me if there is a way in which anyone could possibly view
    >> the php source code on a web page through their browser without having
    >> telnet or FTP access to my web server?
    >>
    >> just in case you know?

    Ninjaboy Guest

  5. #4

    Default Re: php view source

    "Christo" <chris@juststuff.co.uk> wrote in message
    news:2tpqh1F22edk7U1@uni-berlin.de...
    > can anyone tell me if there is a way in which anyone could possibly view
    the
    > php source code on a web page through their browser without having telnet
    or
    > FTP access to my web server?
    >
    > just in case you know?
    >
    >
    If the PHP interpretor stopped working

    Regards
    Richard Grove
    [url]http://www.shopmaker.co.uk[/url] - Ecommerce Shop Systems



    Richard Grove - Žed Eye Media Guest

  6. #5

    Default Re: php view source

    Ninjaboy wrote:
    > If you talking about letting other people view php source through the web.
    > You can try saving those files as name.phps and pull it up through your
    > browser.
    >
    If not....write your own (secured) wrapper around the highlight_file()
    function.

    HTH

    C.
    Colin McKinnon Guest

Posting Permissions

  • You may not post new threads
  • You may 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 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139