Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Php -open or save?

  1. #11
    Charles Edmonds
    Guest

    Default Re: Php -open or save?

    On Wed, 22 Nov 2006 16:26:26 -0000, sandy@byuk.co.uk wrote:

    > Just an observation
    >
    > Why not just install apache and point it at the directory you publish NOF
    > to?
    >
    > When you publish from NOF it just opens a browser on the site - no
    > complications.
    >
    > From the description (I've no idea what it is) WAMP seems to add
    > complications.


    Hi Sandy,

    When you publish locally - NOF writes the HTML in the FILE mode.

    So when you embedded or called PHP files are called - they do not display
    the content as you want to see it because no server is running them.

    The preview that comes up after a publish local uses all FILE references.


    When you publish to a folder where Apache (a localized web server running
    on your desktop) can "serve" those files - NOF still thinks it is in FILE
    mode.

    However when you start a browser and point it at LOCALHOST (or the
    127.0.0.1 IP address), then Apache "serves" those files in HTTP format (not
    FILE).

    As a result - the PHP code (embedded or in pages) is no longer just text
    commands - but rather turns into actions that get output as HTML.

    The result is that you can see what you want to see - from a "local
    webserver" publish.


    Now NOF still thinks that a local publish is a FILE publish - and opens the
    window accordingly. That is why you keep open a browser pointing to your
    published folder under the Apache server - and close the NOF one.


    Another way to think about it is this:

    When NOF presents PHP in FILE mode it is like someone READING a movie
    script to you. You would see all the instructions to actors, notes on
    scenery, what music scores play when, etc.

    When the PHP file is "served" (either by the Internet webserver or by a
    local Apache server), then it is like WATCHING the movie.

    ;-)

    Charles


    --
    -------------------------------------------------------------------------------------------------------
    Charles Edmonds
    cje_ByteMeSpammers_@lansrad.com (remove the _ByteMeSpammers_ to email me)

    www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
    www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
    and Forms!"
    www.lansrad.com - "Intelligent Solutions for Universal Problems"
    www.fotokiss.com - "World's Best Auction Photo Editor"
    -------------------------------------------------------------------------------------------------------

  2. #12
    sandy@byuk.co.uk
    Guest

    Default Re: Php -open or save?

    In article <1nxlvu8wqr5x.1qwr96txk941s$.dlg@40tude.net>,
    cje_ByteMeSpammers_@lansrad.com says...
    > On Wed, 22 Nov 2006 16:26:26 -0000, sandy@byuk.co.uk wrote:
    >


    > Now NOF still thinks that a local publish is a FILE publish - and opens the
    > window accordingly. That is why you keep open a browser pointing to your
    > published folder under the Apache server - and close the NOF one.
    >
    >


    Ahh I see what you're getting at now.You're right of course.

    On closer examination of my own habits I notice that I've been using
    firefox tabs so long I didnt even realise it...

    I publish from NOF then select a tab with localhost in the dropdown ...

    sandy

Posting Permissions

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