Assist plaese with PHP testing in Dreamweaver CS4
Dear Friends,
I’m completely new in Dreamweaver. I’ve just installed in my windowsXP PHP, MySQL and Apache. I’m trying to test PHP in Dreamweaver CS4. Here what I did but still could not see result in browser view.
In site definition box,
in local info:
site name: PHP test
local root folder: C:\wamp\www\
HTTP address: http://localhost/PHPTest.php/
In testing server:
Server model: PHP My SQL
Access: Local/Network
Testing server folder: C:\Inetpub\wwwroot\
URL Prefix: http://localhost/PHPTest.php/
Inside the body script in code view I inserted the following:
<?php
echo "This is a PHP line";
phpinfo();
?>
When I try to see it in browser it shows: Internet Explorer cannot display the webpage
Please tell me what I did wrong please.
Thanks,
Qartveli
some clues to get you started:
1. when developing on a local server, make sure that the testing server folder is equal to the local root folder -- means that it´s "C:\wamp\www\" in both cases, otherwise your local server will try to load the current page from the directory "C:\Inetpub\wwwroot" where this page physically doesn´t exist, and that´s why you´re getting the "cannot display the webpage" error message.
2.
URL Prefix: http://localhost/PHPTest.php/
never specify a certain page name in here -- http://localhost/ is all you need for the URL prefix, and the name of the to-be-previewed page will be appended automatically when going to Preview mode..
Cheers,
Günter
Similar Messages
-
Setting up Dreamweaver CS4 with PHP testing server... Live View doesnt work
Hello,
Im trying to setup Dreamweaver CS4 with a php website im
making. Ive setup the site information, and provided a testing site
(XAMPP), and i can see the fully rendered .php pages in the Live
View tab. However, say i change some of the text in the .php file
(say from <p>Hello</p> to <p>Hi</p>) and
then click in the Live View tab - the page does not update. It
seems to do something, bit just returns the same.
How do i set it up so, like with plain .html pages, you can
make a change to the source code and instantly see the change in
Live View?
(At the moment i have to make the change to the source code,
save it, click Live View to cancel it, and then click Live View
again).
Background:
Ive setup XAMPP (G:\XAMPP\)
Ive setup vhosts in apache.
Ive stored my websites in G:\Websites
Ive set the testing server to G:\Websites\site, where "site"
is setup as a vhost and correctly displays when entered into a
browser.
Ive set the url prefix to
http://site/
Ive set local root to G:\Websites\site
Any help would be greatly appreciated.
Cheers.> How do i set it up so, like with plain .html pages, you
can make a change
> to
> the source code and instantly see the change in Live
View?
Did you try using F5 to refresh the page? If that doesn't
work for you,
then you'll have to drop and restart Live view. No need to
save and reload
the page.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Major_Disaster" <[email protected]> wrote
in message
news:gibqir$lgu$[email protected]..
> Hello,
>
> Im trying to setup Dreamweaver CS4 with a php website im
making. Ive setup
> the
> site information, and provided a testing site (XAMPP),
and i can see the
> fully
> rendered .php pages in the Live View tab. However, say i
change some of
> the
> text in the .php file (say from <p>Hello</p>
to <p>Hi</p>) and then click
> in
> the Live View tab - the page does not update. It seems
to do something,
> bit
> just returns the same.
>
> How do i set it up so, like with plain .html pages, you
can make a change
> to
> the source code and instantly see the change in Live
View?
>
> (At the moment i have to make the change to the source
code, save it,
> click
> Live View to cancel it, and then click Live View again).
>
> Background:
> Ive setup XAMPP (G:\XAMPP\)
> Ive setup vhosts in apache.
> Ive stored my websites in G:\Websites
> Ive set the testing server to G:\Websites\site, where
"site" is setup as a
> vhost and correctly displays when entered into a
browser.
> Ive set the url prefix to
http://site/
> Ive set local root to G:\Websites\site
>
> Any help would be greatly appreciated.
>
> Cheers.
> -
Problem when displaying images when working with PHP, mysql and dreamweaver in a brower
Hey Guys
I am new to dynamic development but I already did some
research and tutorials about how to get a dynamic web site working
with PHP and Mysql in Dreamweaver. I set up a test page to view
some content on it directly from the mysql database and it worked
just fine in dreamweaver only when I pressed the
live data view.
When I tried to view the same page using the browser preview
with firefox and internet explorer, plain text from the database
was correctly displayed on the brower but the images were absent.
In the mysql database I used the varchar as my picture data
type field so that I will refer in dreamweaver in the data binding
panel in the img.src to the picture column of my database.
I anyone can tell me what am I doing wrong so that my
pictures are not displayed in the browser when i click the browser
preview facility in dreamweaver I would be very very and very
pleased ! :)The odds are that it is the way that you have referenced the
images rather
than an issue with the database. If you have the images root
relative like
this "/images" then they will work in preview, and on the
webserver, but
will not view when looking at the file via localhost.
If possible make the links page relative and then they should
work fine.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"mariosal026" <[email protected]> wrote in
message
news:ea3nq2$9ol$[email protected]..
> Hey Guys
>
> I am new to dynamic development but I already did some
research and
> tutorials
> about how to get a dynamic web site working with PHP and
Mysql in
> Dreamweaver.
> I set up a test page to view some content on it directly
from the mysql
> database and it worked just fine in dreamweaver only
when I pressed the
>
live
> data view.
>
> When I tried to view the same page using the browser
preview with firefox
> and
> internet explorer, plain text from the database was
correctly displayed on
> the
> brower but the images were absent.
>
> In the mysql database I used the varchar as my picture
data type field so
> that
> I will refer in dreamweaver in the data binding panel in
the img.src to
> the
> picture column of my database.
>
> I anyone can tell me what am I doing wrong so that my
pictures are not
> displayed in the browser when i click the browser
preview facility in
> dreamweaver I would be very very and very pleased ! :)
> -
Problem with a function of Dreamweaver Cs4
Hi. Excuse me for my bad Inglish, but i am italian. I have a
problem with Dreamweaver CS4. Before I have used the last version,
CS3 and there were a function call image viewer (Insert >
Multimedia objetcts > Image Viewer). In this new version, this
function there is not. It's possible create the same effect with
another function?
Thank'sThe size of one line is 1024.
if(bArray.length == 1023){
out.write(bArray);
byte[] temp = new byte[1];
temp[0] = 100;
out.write(temp);
}else{
out.write(bArray);
In the 27 row the JCO trim the length of the line to 1023 bytes. The last byte is 100.
And for this Problem I add the byte.
Regards
Thomas -
Is this possible with Spry menu and Dreamweaver cs4?
I just starting to learn DreamWeaver cs4 and Spry, I am building a website that has a flash banner, menu bar(which is using the Spry Menu Bar, and a area for content. I have set up the content area with a DIV tag content_column. Now, I would like to have the link from the menu bar, populate the "content_column" with a external web page. I know that I can use the _parent, _blank, etc. setting for the target which just opens that link into a new browser page or replaces my current page, but I would like that link to open in the "content_column" part of my web site. The reason why I want this to happen, is so that the whole page, including the banner doesnt have to load ever single time the user click on a differnt menu option. These external pages will have different elements in them suchs as text, images, and .swf files.
Thanks in advance,
GreggGregg,WELCOME!!! To the Dreamweaver Spry Forum! I see it is your first post...
Instead of using frames (of any kind) to show "other" web pages within your present page, try out the Spry Tabbed Panels widget.
I think it will do what you want. I've used it quite a bit, in various incarnations, and it is quite satisfactory in not redrawing the page every time you strike a tab.
Here's a link to some Spry simulations: http://www.adobe.com/devnet/dreamweaver/articles/spry_simulations.html
And some more info on Widgets: http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WS48A27B01-5D59-409c-99B2-CB838B2985FCa .html
Beth -
Implements php function in dreamweaver cs4 / cs5
Hi,
I made a framwork for my company that develops using php.
It would be nice to not always having to explain the use of functions, implement dreamweaver, possibly through an extension, the intellisense for these functions.
for example when using the shell function require me indicates that the function accepts a string. in the case of mysql_connect are advised to enter the host name etc..
It would be very important to implement something like this for my functions
is it possible?thanks for the reply.
I analyzed the file codeHints on php but I can not get what I want. I am doing tests on cs5 version.
I inserted the following code in the file
[Code]
<Function pattern = "today (string $eng)" doctypes = "PHP_MySQL" displayrestriction = "PHP_Script" icon = "shared / mm / images / hintFunction.png" casesensitive = "true" MMString: source = "php / CORE" description = "@ # php_CORE3.xml mysql_connect" />
[/ Code]
in new php file i put
function today($a).......
when i type today(...
the intellisense show me $a not 'string $eng'....
the problem may be caused by
MMString: source = "php / CORE" description = "@ # php_CORE3.xml mysql_connect"
I do not think because from what I understand this is the explanation of function and not the intellisense
thanks a lot in anycase
Ciro Marotta -
Fix compatibility issues with Internet Exporer in Dreamweaver CS4
My webpage looks great using Firefox but I get the following warnings regarding IE - and the pages do not load correctly.
Here are the errors that Dreamweaver identified:
1. <link href="style.css" rel="stylesheet" type="text/css" />
2. behavior:url(iepngfix.htc);
3. display: inline-table;
I'm hoping I'm supplying you with enough info to help me. If not, please let me know and I'll supply additional info.
My images are not loading and some of my text is missing. However, the page is not completely blank.
Thanks in advance for any direction you can give me,
DovI won't ask where you got this CSS layout. But it looks really bloated for such a simple design scheme. If this were my site, I think I'd start over with a more streamlined CSS layout like the link below:
Basic 1-col, fixed-width, centered with floated boxes.
http://alt-web.com/TEMPLATES/Basic-1-col-fixed.html
That said...
1) start by changing this:
/*=======content===========*/
#content{height:385px; background:url(images/content_bg.jpg) left top no-repeat; padding:3px 0 0 31px;}
To this:
/*=======content===========*/
#content{background:url(images/content_bg.jpg) repeat-y; padding:3px 0 0 31px;}
Reason: CSS Height property is restricting. When text size is increased in browser (zoom text only), content spills out of your # container div.
2) Go through your code and remove all MS-O styles. You've got quite a few of them. MS Word styles don't play nice with HTML. In the future, when you need to copy & paste from MS Office into DW use Edit > Paste Special > Text only to remove the junk code.
3) HTML code validation error on line 60:
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.magusenterprises.com%2F
4) What's going on with your Links? Abracadabra, Presto Chango, now you see 'em, now you don't? Please tell me this is not intentional.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
Dreamweaver CS4 & Coldfusion 8.01
With the release of Dreamweaver CS4 next month, will the
Coldfusion 8 extensions for Dreamweaver still work in Dreamweaveer
CS4 or will Adobe be providing new versions of these extensions ?
I would appreciate it if someone could answer that.
Thank you.edwardjs,
> With the release of Dreamweaver CS4 next month, will the
Coldfusion 8
> extensions for Dreamweaver still work in Dreamweaveer
CS4 or will Adobe be
> providing new versions of these extensions ?
I am not sure exactly what extensions that you are talking
about, but
ColdFusion 8 Code Coloring and static object Code Hints have
been
integrated into DW CS4.
HTH,
Randy -
From Bridge cs4 to Flas cs4 to dreamweaver cs4. Help please
Hello all in thank you for any help.
I have Mac os x 10.5.7
here is my prblem.
I created a web gallery in bridge cs4 ( great I got that).
now I open it with flash cs4.
Now I like to go with the gallery to dreamweaver cs4 (8) or (9) last one
Any help how I can do it?
I like to open it with a new page, on dreamweaver, I did it in the passed, but I'm getting old and I forget how to
Thank You
GenaroThis is the forum to talk about the forums, not about individual software
I think you need the Dreamweaver forum http://forums.adobe.com/community/dreamweaver -
Can I use Japanese text in Dreamweaver CS4?
Hi, I would like to make a web site with Japanese text using Dreamweaver CS4. Can someone tell me if this is easy to do, or not possible? Thank you. _Jayarny
The head section of the page, set the characterset to UTF*, like this:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Then type in or paste in the Japanese text. -
Trial version of Dreamweaver CS4 for testing - co-exist with CS3?
I am very interested in trying InContext. However it requires Dreamweaver CS4 to do anything. I noted a way to download a trial version. My concern however is that I have the CS3 version installed, and I need to know if the two can co-exist or if loading CS4 is going to disable/remove CS3. It would be helpful to know if the same answer applies for both Mac and Windows cases.
If InContext either is not a better solution to my needs that Contribute, or if the costs are too high then I would not anticipate buying the CS4 version (apparently I would have to upgrade the whole CS3 Master Collection I have in order to accomplish that - no small expense) and I don't want to run into a problem.Hello Bobxyzyy,
Yes, you can install the Dreamweaver CS4 trial without affecting your installation of Dreamweaver CS3 on both Mac and Windows. They will install into separate directories by default.
Best regards,
Corey -
Problem with PHP, CSS & Code Navigator in CS4
Hi,
I've got al little problem with code navigator. To show the problem, I created this 3 files:
test1.html
The CSS-Definition is defined static, with simple HTML.
<html>
<head>
<style type="text/css">
@import "test.css";
</style>
</head>
<body>
<p>Hello World</p>
</body>
</html>
test2.php
The CSS-Definition is defined dynamic, with PHP-Code.
<html>
<head>
<style type="text/css">
<? echo "@import \"test.css\";\n"; ?>
</style>
</head>
<body>
<p>Hello World</p>
</body>
</html>
test.css
The CSS-File which is imported in test1.html and test2.php
p {
font-size:20px;
The Problem in Dreamweaver CS4
When opening the test.html - File in Dreamweaver CS4, I can easily see the CSS-Definition of the <p>-Tag in Code Navigator. To edit these definition I can simple open the test.css by clicking on the definition in Code navigator. For a complex webpage this is a greate feature. Sadly, this does not work, when I open the test2.php. Although when going to Live View and selecting the <p>-Tag I can see the CSS-Definition and the file in which it is defined in Code Navigator. But by clicking on the definition the test.css DOES NOT OPEN!
Has anybody a solution? Because many of our projects have dynamic CSS-Definitions, it would be a shame, if this would not work.
Tanks for help! :-)I've done some testing, which might point you in the direction of an interim solution.
This is the code for related_files.php:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Related files test</title>
<?php include('include.css'); ?>
</head>
<body>
<p>This is a paragraph.</p>
</body>
</html>
This is the code for include.css:
<style type="text/css">
p {
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
color:#F00;
</style>
Note that the include file contains the opening and closing style tags.
By including your styles like this in a PHP include file, Dreamweaver applies the CSS in Design view (you don't need to turn on Live View). Holding down the Alt key while clicking in Design view brings up the Code Navigator with all the details of the CSS. The one missing link in the chain is that clicking the style selector in the Code Navigator does not open the CSS file. However...
The file that contains the CSS is listed in the Related Files toolbar, so you can edit it in Split view, and see the results in Design view in exactly the same way as with an HTML page and ordinary style sheet.
As I say, not the full solution that you wanted, but it might be something worth experimenting with. -
Dreamweaver cs4 come with a web server or web app server ?
dreamweaver cs4 come with a web server or web app server ? Or
can be configured [has menues for] web server local ? When running
a server localhost
http://localhost/... , this can be
run/view a file[in local server] without an internet connection ?
yes without / no needed ?123polis123 wrote:
> dreamweaver cs4 come with a web server or web app server
? Or can be configured
> [has menues for] web server local ? When running a
server localhost
>
http://localhost/... , this can be
run/view a file[in local server] without an
> internet connection ? yes without / no needed ?
Dreamweaver does not ship with a web server, you have to
install one, or activate one on your system (IIS or Apache for
Widows and Apache for Mac are the common choices). When you define
a site within Dreamweaver you can specify a testing server, as well
as a remote server. If the testing server and/or remote server are
available to your system without an internet connection, then you
can certainly test pages through the web server such as through
http://localhost/
If you are creating HTML pages, then there is no need for a
server at all for creating and testing your pages, but if you are
working with PHP or ColdFusion, then you will need a web server to
work with.
If you have follow up questions, you should ask in the
Dreamweaver General forum (general Dreamweaver usage questions), or
the Application Development forum (questions about dynamically
generated pages), depending on what you're looking to do:
DW General:
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=12&catid=189&entercat= y
App Dev:
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=12&catid=263&entercat= y
Danilo Celic
|
http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert -
Problems to Download Dreamweaver CS4 with Akamai Download Manager!
I want to download Dreamweaver CS4 Italian Windows Trial version.
I have Internet Explorer 7, PC with OS Windows XP x64bit Corporate, Core2Quad Q9650, Motherboard MSI P45Platinum with Ethernet 10/100/1000,
4GBRAM,3 HDD 500GB WesternDigital,Nvidia GeForce 9400GT.
I have installed "Akamai Download Manager ActiveX" control asked on the top of window popup.
Clicked Yes:Installation confirmation.
But I have tried to click the button "Download" and just one window with this message appears and disappears immediately:
Per scaricare il software è necessario installare Akamai Download Manager...
Problemi di download?
Assistenza per il download...
Il sistema non dispone dei requisiti minimi per eseguire Akamai Download Manager.
(The system doesn't meets the minimum system requirements to run Akamai Download Manager.)
I can't download anything. Why?
I have disable Pop-ups Blocker, and disabled also Anti-Phishing Filter.
Disabled also Antivirus and the Firewall.
Set and lowered Security Protection from Tools>Internet Options: to "Medium"; and also, another time, set to "Personalized" with all the controls
switched to "Active".
Set Privacy>Settings>"Accetta tutti i cookie"(lowered to full bottom).
I have read this Akamai Download Manager FAQ:
-"Nothing happens when I click the download link"
If nothing happened after you clicked the download link, either your pop-up blocker or a high security setting on your web browser may have stopped
the Akamai DLM window from opening.
If you have a pop-up blocker enabled in your web browser or in your Internet toolbar (such as the Yahoo! toolbar or the Google toolbar), you will
need to disable your pop-up blocker to start your download. For additional information, and for instructions on changing your security setting, see
the "Akamai Download Manager system requirements" (ServiceNote kb400530).
Note: The download manager can sometimes take up to a minute to load. Please allow time for the initial loading before assuming there is a problem
Thus, I have followed this rules in Akamai Download Manager System Requirements:
Internet Explorer 7
1) Access your Internet options from the Windows Control Panel (Internet Options) or by selecting Tools > Internet Options in Internet Explorer
2) Select the Security Tab
3) Click Custom Level
4) Scroll through the list of security options and set:
-ActiveX controls and plug-ins > Download signed ActiveX controls > Enable or Prompt
-ActiveX controls and plug-ins > Run ActiveX controls and plug-ins > Enable or Prompt
-ActiveX controls and plug-ins > Script ActiveX controls marked safe for scripting > Enable or Prompt
-Downloads > File download > Enable
-Miscellaneous > Allow script-initiated windows without size or position constraints > Enable
-Scripting > Active scripting > Enable
5) Click OK
6) Click OK again
But nothing changes.
On my PC I have also this installation: "J2SE Runtime Environment 5.0 Update 5" and "Java(TM)6 Update 15".
But the download doesn't start at all.
1) How can I do to download Dreamweaver CS4-Windows-ITALIAN language?
2) Is it possible to download 364.8 MegaBytes without Akamai Download Manager?
Please Hurry!
Horsepower0171.another option you may have is resettofactory
start- run- type:
cmd
press enter
type:
cd c:\program files\common files\research in motion\apploader
press enter
type:
loader.exe /resettofactory
press enter
please perform a backup first
test your browser before you restore your backup, and to be ssafe I would do a selective restore
open DTM, go to backup/restore- advanced
top left click on file-open
find your backup, it will load on the left side
you current working BB will be on the right side
transfer ONLY the absolute important databases from the left to the right(address, cal, phone logs, messages, sms, tasks, memo)... dont do any that you dont know and dont do any OPTIONS ones
Message Edited by drizzt09 on 07-13-2009 08:40 PM -
Using a MsAccess database with Dreamweaver CS4?
Hi Everyone,
I have a question concerning using a Microsoft Access Database with Dreamweaver.
First, I was wondering if this was possible. Second, if it is, could someone give me instructions or a link on how to do this. I am pretty new to Dreamweaver, code, etc..., so simpler instructions on how to acheive this would be great.
Here is some information...
1) I am running Windows XP SP2
2) I am using Microsoft Office 2003 (Acces included)
3) I am using Dreamweaver CS4
4) I have installed XAMMP (Apache,MySQL, FileZilla, and PHPmyAdmin, as far as I know)
If anyone needs more information, I'll be hapy to share it as soon as possible.
Any help is greatly appreciated,
Musicman1994The choice of database really depends on which server-side technology you plan to use, and what you're actually planning to use it for.
Access was designed to create databases for small office systems. Although I personally found it very confusing, a lot of people like it and say it's easy to use. However, its major drawback is that it creates very large files; and as soon as the website gets a reasonable amount of traffic, Access has a tendency to freeze or lock up. You can create your database in Access and then export it to another database system, such as Microsoft SQL Server or MySQL. But it's better to start with the database that you ultimately plan using.
I certainly wouldn't recommend developing anything in ASP and then attempting to convert the website to PHP. Although all server-side programs share common features and structures, the code is completely different. So, take some time over choosing your technology first. If you have never developed in ASP, you should be aware that Microsoft stopped developing it about ten years ago. It's still popular and widely available, but ASP is likely to dwindle in usefulness as the years go by. Use PHP or ColdFusion, both of which are supported by Dreamweaver. The other main alternative is ASP.NET, but that's no longer supported by Dreamweaver.
Maybe you are looking for
-
In a [blog post|/people/franz.hero/blog/2009/04/14/what-are-they-thinking-part-2-about-sustainability] titled What are they thinking!?! Part 2 about Sustainability, Franz Hero of SAP said: "SAP will reduce CO2 emissions per employee per 60% until 202
-
I recently installed JMF on my linux machine. I am using Linuxperformance pack. I tried running the diagonstics page on the website but it says JMF classes not found. I am using Firefox 1.5 and i have included the jmf.jar in class path.. When i try t
-
it starts up it closes with an error Crash ID: bp-a5b851c6-24e4-49b3-83fe-1edd42141125
-
Repair Permissions and they don't repair
Everytime I repair permissions using the disk utility it says that the permissions are repaired, but then I click to verify permissions and it is all as it was before... What can I do?
-
Where is skype video v2 integration?
MS said it was coming "in a few months" back in February. It's been 9 months...