PHP Coder issue

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Richard

    #1

    PHP Coder issue

    Working with the php coder from php.net, I can not figure out to open a
    saved file.
    So that the php coding will show as it did originally.
    All it will show now is the html and javascript. NO php.
    What am I missing?



  • Geoff Berrow

    #2
    Re: PHP Coder issue

    I noticed that Message-ID: <cu9ktr0mnl@new s2.newsguy.com> from Richard
    contained the following:
    [color=blue]
    >Working with the php coder from php.net, I can not figure out to open a
    >saved file.
    >So that the php coding will show as it did originally.
    >All it will show now is the html and javascript. NO php.
    >What am I missing?[/color]

    It's working as intended, you are not supposed to be able to see the
    code via the browser (HTTP).

    Open it with a text editor. You may have to transfer the file to your
    local machine via FTP.
    --
    Geoff Berrow (put thecat out to email)
    It's only Usenet, no one dies.
    My opinions, not the committee's, mine.
    Simple RFDs http://www.ckdog.co.uk/rfdmaker/

    Comment

    • Richard

      #3
      Re: PHP Coder issue

      On Tue, 08 Feb 2005 07:22:44 +0000 Geoff Berrow wrote:
      [color=blue]
      > I noticed that Message-ID: <cu9ktr0mnl@new s2.newsguy.com> from Richard
      > contained the following:[/color]
      [color=blue][color=green]
      >>Working with the php coder from php.net, I can not figure out to open a
      >>saved file.
      >>So that the php coding will show as it did originally.
      >>All it will show now is the html and javascript. NO php.
      >>What am I missing?[/color][/color]
      [color=blue]
      > It's working as intended, you are not supposed to be able to see the
      > code via the browser (HTTP).[/color]
      [color=blue]
      > Open it with a text editor. You may have to transfer the file to your
      > local machine via FTP.[/color]

      I realized later I was simply opening the wrong file.
      I was opening my output file instead of the actual file.


      Comment

      Working...