F12 doesn't quite work

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

  1. #1

    Default F12 doesn't quite work

    I press F12, and the page displays locally, but the included files (PHP)
    don't get included. I could've sworn it was working, once upon a time. Now,
    it just shows everything else in the page minus the included file(s). Any
    advice?

    Thanks in advance.



    mimages Guest

  2. Similar Questions and Discussions

    1. Can't get <img> to work in XML
      I'm using PHP to grab info from a database and then spit out an XML file. I'm loading the XML file into my fla and having no problems getting the...
    2. Links don't work in Shockwave movie but work in p
      Hi, everyone: I encountered a strange problem. I downloaded a sample movie from Macromedia site and noticed that the same problem occurs what I had...
    3. I can?t get it to work
      I am new at Flash, however I develop a nice little Flash site. When I publish my site and upload it in Dreamweaver , it takes for ever to load; a...
    4. Still trying to get a Mac to work with GPS
      I am still trying to get a Mac to work with GPS. All of the leads so far suggested have not pointed me towards a soltion, allowing the use of a Mac...
    5. Net work set up
      1)i have 2 computers both with a network card connected by cable. 2) when running main (internet)computer XP home o/s 2nd computer 98 o/s the 2...
  3. #2

    Default Re: F12 doesn't quite work

    "mimages" <mimages@NOSPAMspvision.com> wrote in message
    news:Yi5db.34607$Ci5.805282@twister.tampabay.rr.co m...
    > I press F12, and the page displays locally, but the included files (PHP)
    > don't get included. I could've sworn it was working, once upon a time.
    Now,
    > it just shows everything else in the page minus the included file(s). Any
    > advice?
    >
    > Thanks in advance.
    >
    >
    >
    What on earth are you talking about with regards to F12? You'll have to put
    more meat on the bones of your question...

    And what do you mean that the included files don't get included?

    If you expect to "View Source" on your browser, and be able to see your PHP
    code, then then there's nothing wrong. PHP is a server side language that
    gets parsed *on the server* and you see the results *on the client*.


    A: Because it messes up the order in which people normally read text.
    Q: Why is top-posting such a bad thing?
    A: Top-posting.
    Q: What is the most annoying thing on usenet?


    Randell D. Guest

  4. #3

    Default Re: F12 doesn't quite work

    I noticed that Message-ID: <hO8db.18572$O85.7122@pd7tw1no> from Randell
    D. contained the following:
    >What on earth are you talking about with regards to F12? You'll have to put
    >more meat on the bones of your question...
    It could be a reference to Dreamweaver. F12 previews in browser.

    Is the server installed and running?

    --
    Geoff Berrow
    It's only Usenet, no one dies.
    My opinions, not the committee's, mine.
    Simple RFDs [url]http://www.ckdog.co.uk/rfdmaker/[/url]
    Geoff Berrow Guest

  5. #4

    Default Re: F12 doesn't quite work

    "mimages" <mimages@NOSPAMspvision.com> wrote in message news:<Yi5db.34607$Ci5.805282@twister.tampabay.rr.c om>...
    > I press F12, and the page displays locally, but the included files (PHP)
    > don't get included. I could've sworn it was working, once upon a time. Now,
    > it just shows everything else in the page minus the included file(s). Any
    > advice?
    >
    > Thanks in advance.
    I'm assuming you mean Dreamweaver.

    You need to go to Edit | Preferences | Site and ensure that the
    'dependent files' boxes are checked. Pressing F12 puts the current
    file to the test server but not any dependent, i.e. included, files.
    They have to be put manually if this option is unchecked.

    Paul
    Paul Liversidge Guest

  6. #5

    Default Re: F12 doesn't quite work

    Sorry, and thanks for catching my mistake. I do mean Dreamweaver. I checked
    the preferences, and all the boxes you mentioned are checked. The testing
    server is local, and I thought it would display the files properly. I've
    done this in creation of ASP files, and it works just fine. I don't know why
    the problem is occuring since I started doing PHP development.

    Any other ideas?

    Thanks in advance.


    "Paul Liversidge" <paul_liversidge@hotmail.com> wrote in message
    news:bf26a194.0309270716.4cd4957f@posting.google.c om...
    > "mimages" <mimages@NOSPAMspvision.com> wrote in message
    news:<Yi5db.34607$Ci5.805282@twister.tampabay.rr.c om>...
    > > I press F12, and the page displays locally, but the included files (PHP)
    > > don't get included. I could've sworn it was working, once upon a time.
    Now,
    > > it just shows everything else in the page minus the included file(s).
    Any
    > > advice?
    > >
    > > Thanks in advance.
    >
    > I'm assuming you mean Dreamweaver.
    >
    > You need to go to Edit | Preferences | Site and ensure that the
    > 'dependent files' boxes are checked. Pressing F12 puts the current
    > file to the test server but not any dependent, i.e. included, files.
    > They have to be put manually if this option is unchecked.
    >
    > Paul
    >

    mimages Guest

  7. #6

    Default Re: F12 doesn't quite work

    Yes, I'm sorry, I am referring to Dreamweaver. I have done ASP development
    without actually having to install the personal web server, so I thought I
    would need no special installation for PHP development. I guess I'm wrong. I
    really don't know what needs to be installed, though.

    Any ideas?

    Thanks

    "Geoff Berrow" <bl@ckdog.co.uk.the.cat> wrote in message
    news:cpkanv4fitqi7av3430i72ahdgm96mfqk1@4ax.com...
    > I noticed that Message-ID: <hO8db.18572$O85.7122@pd7tw1no> from Randell
    > D. contained the following:
    >
    > >What on earth are you talking about with regards to F12? You'll have to
    put
    > >more meat on the bones of your question...
    >
    > It could be a reference to Dreamweaver. F12 previews in browser.
    >
    > Is the server installed and running?
    >
    > --
    > Geoff Berrow
    > It's only Usenet, no one dies.
    > My opinions, not the committee's, mine.
    > Simple RFDs [url]http://www.ckdog.co.uk/rfdmaker/[/url]
    >

    mimages Guest

  8. #7

    Default Re: F12 doesn't quite work

    I noticed that Message-ID:
    <RhHdb.42404$Ci5.1096170@twister.tampabay.rr.com > from mimages contained
    the following:
    >Yes, I'm sorry, I am referring to Dreamweaver. I have done ASP development
    >without actually having to install the personal web server, so I thought I
    >would need no special installation for PHP development. I guess I'm wrong. I
    >really don't know what needs to be installed, though.
    >
    >Any ideas?
    I don't usually bother. I simply use the 'put' command to upload the
    page I'm working on then view it from my webserver. That way I /know/
    it's going to work.

    If you want to, you can install Apache, PHP, PHP,MYAdmin and MySQL all
    in one easy hit. Go to [url]http://www.firepages.com.au[/url] and click PHPDEV
    bundles 423 is the latest.


    --
    Geoff Berrow
    It's only Usenet, no one dies.
    My opinions, not the committee's, mine.
    Simple RFDs [url]http://www.ckdog.co.uk/rfdmaker/[/url]
    Geoff Berrow Guest

  9. #8

    Default Re: F12 doesn't quite work

    Bummers. I was hoping to avoid installing a bunch of stuff on this system.
    Wanted to keep it clean. I'll probably to the put deal, I just wanted to
    check it locally before potentially messing up a good page with a wanna-be
    better one, until I was sure it was good.


    "Geoff Berrow" <bl@ckdog.co.uk.the.cat> wrote in message
    news:srjenvkt34hej4s32usb9ink79pdr6285u@4ax.com...
    > I noticed that Message-ID:
    > <RhHdb.42404$Ci5.1096170@twister.tampabay.rr.com > from mimages contained
    > the following:
    >
    > >Yes, I'm sorry, I am referring to Dreamweaver. I have done ASP
    development
    > >without actually having to install the personal web server, so I thought
    I
    > >would need no special installation for PHP development. I guess I'm
    wrong. I
    > >really don't know what needs to be installed, though.
    > >
    > >Any ideas?
    >
    > I don't usually bother. I simply use the 'put' command to upload the
    > page I'm working on then view it from my webserver. That way I /know/
    > it's going to work.
    >
    > If you want to, you can install Apache, PHP, PHP,MYAdmin and MySQL all
    > in one easy hit. Go to [url]http://www.firepages.com.au[/url] and click PHPDEV
    > bundles 423 is the latest.
    >
    >
    > --
    > Geoff Berrow
    > It's only Usenet, no one dies.
    > My opinions, not the committee's, mine.
    > Simple RFDs [url]http://www.ckdog.co.uk/rfdmaker/[/url]
    >

    mimages Guest

  10. #9

    Default Re: F12 doesn't quite work

    In article <x9Ldb.43307$Ci5.1127784@twister.tampabay.rr.com >, mimages wrote:
    > Bummers. I was hoping to avoid installing a bunch of stuff on this system.
    > Wanted to keep it clean. I'll probably to the put deal, I just wanted to
    > check it locally before potentially messing up a good page with a wanna-be
    > better one, until I was sure it was good.
    Why aren't you using the testing server feature of Dreamweaver? It can stuff
    things off into a non-public subdirectory for testing.
    Ed Clarke Guest

  11. #10

    Default Re: F12 doesn't quite work

    I noticed that Message-ID:
    <x9Ldb.43307$Ci5.1127784@twister.tampabay.rr.com > from mimages contained
    the following:
    >Bummers. I was hoping to avoid installing a bunch of stuff on this system.
    >Wanted to keep it clean. I'll probably to the put deal, I just wanted to
    >check it locally before potentially messing up a good page with a wanna-be
    >better one, until I was sure it was good.
    Then make a copy in a subdirectory.

    --
    Geoff Berrow
    It's only Usenet, no one dies.
    My opinions, not the committee's, mine.
    Simple RFDs [url]http://www.ckdog.co.uk/rfdmaker/[/url]
    Geoff Berrow Guest

  12. #11

    Default Re: F12 doesn't quite work

    One of the nice things about using the F12 feature to check your page is
    that it's nice and quick. I guess I can just as easily use the testing
    server feature and be patient. It's just so easy to get anal when something
    works differently all of a sudden.

    I'll get over it.

    Thanks.

    "Ed Clarke" <clarke@cilia.org> wrote in message
    news:bl83ji$9ac38$1@ID-189828.news.uni-berlin.de...
    > In article <x9Ldb.43307$Ci5.1127784@twister.tampabay.rr.com >, mimages
    wrote:
    > > Bummers. I was hoping to avoid installing a bunch of stuff on this
    system.
    > > Wanted to keep it clean. I'll probably to the put deal, I just wanted to
    > > check it locally before potentially messing up a good page with a
    wanna-be
    > > better one, until I was sure it was good.
    >
    > Why aren't you using the testing server feature of Dreamweaver? It can
    stuff
    > things off into a non-public subdirectory for testing.
    >

    mimages Guest

  13. #12

    Default Re: F12 doesn't quite work

    I noticed that Message-ID:
    <975eb.24817$Of2.1368496@twister.tampabay.rr.com > from mimages contained
    the following:
    >One of the nice things about using the F12 feature to check your page is
    >that it's nice and quick. I guess I can just as easily use the testing
    >server feature and be patient. It's just so easy to get anal when something
    >works differently all of a sudden.
    I'm so used to put, save, refresh that I don't think about it anymore.
    LOL.

    --
    Geoff Berrow
    It's only Usenet, no one dies.
    My opinions, not the committee's, mine.
    Simple RFDs [url]http://www.ckdog.co.uk/rfdmaker/[/url]
    Geoff Berrow Guest

  14. #13

    Default Re: F12 doesn't quite work


    "mimages" <mimages@NOSPAMspvision.com> wrote in message
    news:XfHdb.42395$Ci5.1093911@twister.tampabay.rr.c om...
    > Sorry, and thanks for catching my mistake. I do mean Dreamweaver. I
    checked
    > the preferences, and all the boxes you mentioned are checked. The testing
    > server is local, and I thought it would display the files properly. I've
    > done this in creation of ASP files, and it works just fine. I don't know
    why
    > the problem is occuring since I started doing PHP development.
    >
    > Any other ideas?
    >
    > Thanks in advance.
    >
    >
    > "Paul Liversidge" <paul_liversidge@hotmail.com> wrote in message
    > news:bf26a194.0309270716.4cd4957f@posting.google.c om...
    > > "mimages" <mimages@NOSPAMspvision.com> wrote in message
    > news:<Yi5db.34607$Ci5.805282@twister.tampabay.rr.c om>...
    > > > I press F12, and the page displays locally, but the included files
    (PHP)
    > > > don't get included. I could've sworn it was working, once upon a time.
    > Now,
    > > > it just shows everything else in the page minus the included file(s).
    > Any
    > > > advice?
    > > >
    > > > Thanks in advance.
    > >
    > > I'm assuming you mean Dreamweaver.
    > >
    > > You need to go to Edit | Preferences | Site and ensure that the
    > > 'dependent files' boxes are checked. Pressing F12 puts the current
    > > file to the test server but not any dependent, i.e. included, files.
    > > They have to be put manually if this option is unchecked.
    > >
    > > Paul
    The easiest way is (if you're on Win XP) to install IIS (Internet
    Information Services) which is the part of Win installation and can be found
    on Win CD, and just add PHP extensions to it. Then you define your testing
    server folder in Dreamweaver which will be the root folder of your local
    webserver (or its subdirectory). So, now when you press F12 all your dynamic
    PHP code will be processed by your local server and you dont need to worry
    about that, it's just that easy.



    medi 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