473,396 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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.

Jul 17 '05 #1
12 2848
"mimages" <mi*****@NOSPAMspvision.com> wrote in message
news:Yi********************@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?
Jul 17 '05 #2
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 http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #3
"mimages" <mi*****@NOSPAMspvision.com> wrote in message news:<Yi********************@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
Jul 17 '05 #4
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" <pa*************@hotmail.com> wrote in message
news:bf**************************@posting.google.c om...
"mimages" <mi*****@NOSPAMspvision.com> wrote in message

news:<Yi********************@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

Jul 17 '05 #5
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:cp********************************@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 putmore 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 http://www.ckdog.co.uk/rfdmaker/

Jul 17 '05 #6
I noticed that Message-ID:
<Rh*********************@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 http://www.firepages.com.au 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 http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #7
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:sr********************************@4ax.com...
I noticed that Message-ID:
<Rh*********************@twister.tampabay.rr.com > from mimages contained
the following:
Yes, I'm sorry, I am referring to Dreamweaver. I have done ASP developmentwithout actually having to install the personal web server, so I thought Iwould need no special installation for PHP development. I guess I'm wrong. Ireally 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 http://www.firepages.com.au 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 http://www.ckdog.co.uk/rfdmaker/

Jul 17 '05 #8
In article <x9*********************@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.
Jul 17 '05 #9
I noticed that Message-ID:
<x9*********************@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 http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #10
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" <cl****@cilia.org> wrote in message
news:bl************@ID-189828.news.uni-berlin.de...
In article <x9*********************@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.

Jul 17 '05 #11
I noticed that Message-ID:
<97*********************@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 http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #12

"mimages" <mi*****@NOSPAMspvision.com> wrote in message
news:Xf*********************@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" <pa*************@hotmail.com> wrote in message
news:bf**************************@posting.google.c om...
"mimages" <mi*****@NOSPAMspvision.com> wrote in message

news:<Yi********************@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.

Jul 17 '05 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Grant Edwards | last post by:
Perhaps I'm doing something wrong: the struct module docs say it's IEE 754, but I can't figure out how to get it to handle NaN values correctly (either packing or unpacking). >>> x =...
3
by: Porky Pig Jr | last post by:
Just downloaded and installed the latest Cygwin distribution which includes python 2.3.4. IDLE runs fine but for some reason the toolbar menu doesn't show up. Like, by default, it starts shell...
44
by: Mariusz Jedrzejewski | last post by:
Hi, I'll be very grateful if somebody can explain me why my Opera 7.23 (runing under linux) doesn't show me inner tables. Using below code I can see only "inner table 1". There is no problem with...
149
by: Christopher Benson-Manica | last post by:
(Followups set to comp.std.c. Apologies if the crosspost is unwelcome.) strchr() is to strrchr() as strstr() is to strrstr(), but strrstr() isn't part of the standard. Why not? --...
45
by: Pat | last post by:
its seems asp.net validation doesn't fire when using FireFox? Tested a page and it doesn't fire. It seems the javascript doesn't fire Any ideas?
4
by: outforblood74 | last post by:
Ok here's the deal, the for each statment using VB 6 doesn't loop all the objects. I would like it to close all the IE browsers that are open, but it doesn't work. And now I'm concerned that its...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
34
by: electrician | last post by:
Perl has it, Basic has it, Fortran has it. What is so difficult about creating a goto command for JavaScript. Just set up a label and say go to it.
52
by: lovecreatesbeauty | last post by:
Why the C standard committee doesn't provide a standard implementation including the C compiler and library when the language standard document is published? C works on the abstract model of low...
35
by: mwelsh1118 | last post by:
Why doesn't C# allow incremental compilation like Java? Specifically, in Java I can compile single .java files in isolation. The resulting individual .class files can be grouped into .jar files....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.