PHP sendmail in Dreamweaver
Hi Experts,
my site created in Dreamweaver's HTML looks ok, however the
PHP script cannot capture the Enquiry data to send to the my target
email addr. Is there some setting I had missed out, or myscrpt is
wrong. I had enclosed my PHP scripts for your reference, pls kindly
adv where could have gone wrong. Tks.....!
<?php
$fname = $_POST['FirstName'];
$Job = $_POST['Designation'];
$Comp = $_POST['Company'];
$email = $_POST['Email'] ;
$comments = $_POST['Comments'] ;
$to = "[email protected]";
$re = "Enquiry";
$msg = $comments;
mail( $to, $re, $msg);
?>
<!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><title> Your Enquiry
</title></head>
<body>
Thank you <?php echo($fname); ?> from <?php
echo($Comp); ?>. We will follow-up with your enquiry soon.
</body>
</html>
Your script is not using most of the data you have captured.
For example,
you are not using -
> $fname = $_POST['FirstName'];
> $Job = $_POST['Designation'];
> $Comp = $_POST['Company'];
> $email = $_POST['Email'] ;
It is only sending $msg (which is copied from $comments).
You would need to append each of these variables to the $msg
string.
Be aware that you are open to hacking by using this very
simple sendmail
script. At the least, you should remove HTML and carriage
return characters
from the comments field.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Puzzle Ice" <[email protected]> wrote in
message
news:fdq029$dat$[email protected]..
> Hi Experts,
>
> my site created in Dreamweaver's HTML looks ok, however
the PHP script
> cannot
> capture the Enquiry data to send to the my target email
addr. Is there
> some
> setting I had missed out, or myscrpt is wrong. I had
enclosed my PHP
> scripts
> for your reference, pls kindly adv where could have gone
wrong.
> Tks.....!
>
> <?php
> $fname = $_POST['FirstName'];
> $Job = $_POST['Designation'];
> $Comp = $_POST['Company'];
> $email = $_POST['Email'] ;
> $comments = $_POST['Comments'] ;
>
> $to = "[email protected]";
> $re = "Enquiry";
> $msg = $comments;
> mail( $to, $re, $msg);
> ?>
>
> <!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><title> Your Enquiry
</title></head>
> <body>
> Thank you <?php echo($fname); ?> from <?php
echo($Comp); ?>. We will
> follow-up
> with your enquiry soon.
>
> </body>
> </html>
>
>
Similar Messages
-
サンエツと申します。
webサイトの構築が目的です。
1.DreamWeaberを購入検討をしておりますが、phpのsendmailでローカル環境からメール送信のテストはできるのでしょうか?
2.ftpのログインなどもローカル環境でテストできますか?
3.ftpのローカル環境でファイルのアップロードテストなどは出来ますか?
上記は、Aptana Studio 3ではできましたが、Microsoft Expression Web 4ではできませんでした。
当方の環境は
win7
xampp
になっています。
どうぞよろしくお願いします。On 20 Jan 2009 in macromedia.dreamweaver, Alan wrote:
> as far as i know, you would have to send html email
headers, then
> use html or css to style the text to bold.
That's correct.
>
http://www.google.com/search?hl=en&ie=ISO-8859-1&q=tutorial+send+html
> +email+ php
In general for all things PHP, your first stop should be
http://www.php.net/ In this case,
see Example 4 at:
http://www.php.net/manual/en/function.mail.php
Joe Makowiec
http://makowiec.net/
Email:
http://makowiec.net/contact.php -
Hi there,
I'm using a PHP sendmail script, although I want some of the
writing to be emailed in BOLD font, it isn't the field results,
it's the bit after the 'sprint' in the script I'd ideally like to
be bold.
Would be fanastic if anyone could share their knowledge.
Regards,
Kristopher (UK).On 20 Jan 2009 in macromedia.dreamweaver, Alan wrote:
> as far as i know, you would have to send html email
headers, then
> use html or css to style the text to bold.
That's correct.
>
http://www.google.com/search?hl=en&ie=ISO-8859-1&q=tutorial+send+html
> +email+ php
In general for all things PHP, your first stop should be
http://www.php.net/ In this case,
see Example 4 at:
http://www.php.net/manual/en/function.mail.php
Joe Makowiec
http://makowiec.net/
Email:
http://makowiec.net/contact.php -
Has anyone been able to get php sendmail to work on Yosemite? If so is there any complete documentation or hey how about a script to fix it. That should have been part of Server app.
Hah, lol, my bad, didn't think about that. Worked when I did.
-
Using PHP files in Dreamweaver?
When I create a new PHP file in Dreamweaver the code is the same as an HTML file, shouldn't be different? with php commands or something?
ThanksWhen I create a new PHP file in Dreamweaver the code is the same as an HTML file, shouldn't be different? with php commands or something?
Not unless you add them. PHP is a server-side programming language. PHP web pages are no different than HTML pages except that they can parse data on the server. With the right include statements or commands, PHP or ASP pages can publish information from server-side databases to form a dynamically driven web site.
BUILDING DYNAMIC SITES in DW
Set up a local testing server in Adobe Dreamweaver CS4
http://www.adobe.com/newsletters/edge/december2009/articles/article2/index.html
Setting up a PHP development environment for Dreamweaver
http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php_05.html
Building your first dynamic website – Part 1: Setting up your site and database connection
http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com -
Php classes in dreamweaver?
hi,
is it possible to use php classes, includes, extends etc. in
dreamweaver? i learned to program in php at school this way, but at
my work (training cource) i have to use dreamwaver, including its
behaviours, so other people can change my pages using the design
mode of dreamweaver.
What i would like is to make php classes with dreamweavers
behaviors in it, and that those are showed in the design mode, and
could be changed. (i know the live data function, but i cant edit
in it.)
an other thing that chould change i think is the way html is
build up in php by dreamweaver, becouse everytime closing and
opening php is not the way it should be in php. i hope i could get
some advice here.
BartVolgensBartjes wrote:
> is it possible to use php classes, includes, extends
etc. in dreamweaver?
You can write and use any PHP code in Dreamweaver. You can
also edit the
PHP code generated by Dreamweaver server behaviors. However,
once you
edit the server behavior code, you can no longer control the
server
behaviors through the Dreamweaver dialog boxes.
David Powers
Adobe Community Expert, Dreamweaver
http://foundationphp.com -
Further details on Unable to save php file in dreamweaver.
setting up a php site in dreamweaver.
I am taking a class in PHP. I am following instructions to set up my work environment in Dreamweaver. I am using an Imac, dual core, running snow leopard, and have loaded xampp onto my machine. Dreamweaver version CS3.
Class instructions say to set up my local site with following path: Applications/xampp/htdocs. My DW wants me to use : instead of /, so when I set up the local site, this is what my path looks like. Macintosh HD:Applications:XAMPP:xamppfiles:htdocs:
When I try to save my first page, as a .php, I get the following error message: Access to MacintoshHD:applications:XAMPP:xamppfiles:htdocs:hello.php was denied. I get this error message on both of my macs, so it is a problem in my path, not individual to my machine.
There is something wrong with my path, but I don't know what it is. I cannot create path with / instead of :, DW won't allow it. I tried creating a path exactly as instructed in the lesson, but that did not help. I don't know what I am missing because I am just starting so I don't know what to look for. Any thoughts? Thanks in advance....You should setup the built-in php instead of xampp on Snow Leopard. Look here for more info
http://DwFAQ.info/home.php?id=18
Then when you setup your local site use HD_Name:Users:User_Account_Name:Sites:Website_Folder: -
Can we design professional PHP websites in Dreamweaver CS6 ?
Can we design professional PHP websites in Dreamweaver CS6 ?
Dreamweaver is not a professional PHP IDE (integrated development environment). As such, it lacks PHP debugging capabilities and other features that a nice IDE has.
But you can code PHP in Dreamweaver, and it does have pretty good PHP syntax checking. So yes, you can create a PHP website using Dreamweaver.
A lot depends on what exactly you mean by "professional PHP website" and what your programming skill level is. The fact that you are asking this question tells me that your coding skills must not be great, because if they were, you would not need to ask this question. Dreamweaver is a much "friendlier" environment than a PHP IDE. You might find a PHP IDE like ZEND Studio to be overwhelming, in which case Dreamweaver would be your better choice. -
Problem displaying php page in dreamweaver
I am having problems displaying php scripting on dreamweaver.
Need your advice.
Installed dreamweaver 8, Coldfusion 7, mysql, php5.2 (using
windows installer).
Created file test.php ror testing containing
<!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=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
date is:<b><?php echo Hello ?></b>
</body>
</html>ulises_arsi wrote:
> I am having problems displaying php scripting on
dreamweaver.
Tell us what the problems are.
> Installed dreamweaver 8, Coldfusion 7, mysql, php5.2
(using windows installer).
PHP needs to be configured with a web server, such as Apache
or IIS.
ColdFusion is also a webserver, but as far as I know, it
cannot be
configured to serve PHP pages.
> date is:
<?php echo Hello ?>
The only thing that would display is an error message. Hello
needs to be
enclosed in quotes:
<?php echo 'Hello'; ?>
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/ -
Are there php differences from dreamweaver 8 to 11.5?
I have just upgraded from dreamweaver 8 to 11.5. I would call myself somewhat of a newbie with dreamweaver actually.
The scripts I have been working on were existing and I have been making changes just fine with dreamweaver 8. Now that I
have upgraded, it seems that all the pages are pretty much broken. The inital html page works ok, but once it tries to run the
php code and create the dynamic page, I get what looks like my php code being displayed on the page. Is there somewhere
to go read about changes that might be needed when migrating from dreamweaver 8 to dreamweaver 11.5?
Thanks!
PattyWhich part isn't true?
1. I created a new php page in Dreamweaver CS5.5
2. I created two new recordsets
a. Here is the code:
newFindCommand('CATEGORY'); $Section_findCriterions = array('cat_ID'=>'*',); foreach($Section_findCriterions as $key=>$value) { $Section_find->AddFindCriterion($key,$value); } $Item_find = $Rani->newFindCommand('ITEM'); $Item_findCriterions = array('cat_ID'=>'=='.fmsEscape($_REQUEST['cat_ID']),); foreach($Item_findCriterions as $key=>$value) { $Item_find->AddFindCriterion($key,$value); } fmsSetPage($found_records_find,'found_records',10); fmsSetPage($Section_find,'Section',10); fmsSetPage($Item_find,'Item',10); fmsSetPage($Sections_find,'Sections',10); $Item_result = $Item_find->execute(); $Section_result = $Section_find->execute(); if(FileMaker::isError($found_records_result)) fmsTrapError($found_records_result,"error.php"); if(FileMaker::isError($Section_result)) fmsTrapError($Section_result,"error.php"); if(FileMaker::isError($Item_result)) fmsTrapError($Item_result,"error.php"); if(FileMaker::isError($Sections_result)) fmsTrapError($Sections_result,"error.php"); fmsSetLastPage($found_records_result,'found_records',10); fmsSetLastPage($Section_result,'Section',10); fmsSetLastPage($Item_result,'Item',10); fmsSetLastPage($Sections_result,'Sections',10); $Item_row = current($Item_result->getRecords()); $Section_row = current($Section_result->getRecords()); $found_records_row = current($found_records_result->getRecords()); // FMStudio Pro - do not remove comment, needed for DreamWeaver support ?> getRecords() as $Section_row){ ?>
Section
getField('name'); ?>
3. I uploaded the file and tried to preview. a. Here is the error message: Parse error: syntax error, unexpected T_VARIABLE in /home8/thrpsdes/public_html/rani2011/Testing.php on line 1 4. I went to the remote server and downloaded the page. a. here is the code: newFindCommand('CATEGORY');$Section_findCriterions = array('cat_ID'=>'*',);foreach($Section_findCriterions as $key=>$value) { $Section_find->AddFindCriterion($key,$value);}$Item_find = $Rani->newFindCommand('ITEM');$Item_findCriterions = array('cat_ID'=>'=='.fmsEscape($_REQUEST['cat_ID']),);foreach($Item_findCriterions as $key=>$value) { $Item_find->AddFindCriterion($key,$value);}fmsSetPage($found_records_find,'found_records' ,10); fmsSetPage($Section_find,'Section',10); fmsSetPage($Item_find,'Item',10); fmsSetPage($Sections_find,'Sections',10); $Item_result = $Item_find->execute(); $Section_result = $Section_find->execute(); if(FileMaker::isError($found_records_result)) fmsTrapError($found_records_result,"error.php"); if(FileMaker::isError($Section_result)) fmsTrapError($Section_result,"error.php"); if(FileMaker::isError($Item_result)) fmsTrapError($Item_result,"error.php"); if(FileMaker::isError($Sections_result)) fmsTrapError($Sections_result,"error.php"); fmsSetLastPage($found_records_result,'found_records',10); fmsSetLastPage($Section_result,'Section',10); fmsSetLastPage($Item_result,'Item',10); fmsSetLastPage($Sections_result,'Sections',10); $Item_row = current($Item_result->getRecords()); $Section_row = current($Section_result->getRecords()); $found_records_row = current($found_records_result->getRecords()); // FMStudio Pro - do not remove comment, needed for DreamWeaver support ?>getRecords() as $Section_row){ ?>
Section
getField('name'); ?>
So what isn't true?
John Vellela
3rd Planet Studio
358 Chestnut Hill Ave
Suite 204b
Brighton, MA 02135
617.739.2306 fax: 617.566.3141
www.3rdplanetstudio.com -
Local net ssh failure Tiger (PHP MYSQL Apache Dreamweaver)
I can't be sure, but I think this problem started with the latest security update. I'm 80% done with my first web application using PHP and Mysql in dreamweaver when I began getting an unknown error from dreamweaver when attempting to connect to my DB on my testing server. After 2 days of debugging and re-installing apps I finally wiped the testing server (G4 400 Cube memory topped out 120GB HD, down to the metal) reinstalled Tiger, fully patched, edited the httpd.conf file to enable php 4.4.1. Installed Mysql 4.1 (which was the last general distribution with a packaged install) and the server works fine, so I created myself as a user in mysql @localhost & @localmachinename to replicate root user. Navicat was up and running in no time, so I re-populated my server from my backup. Then I jumped over to my design workstation (G5 2Ghz Dual, 2GB Ram, 250GB HD) only to find navicat can't login to the mysql server because ssh wont connect to the G4. After much testing I discovered ALL of my macs will attach only to external addresses. My linux box, external linux boxes, even windows boxes emulating ssh will attach internally or extenally, the macs won't talk to anything in the local network 10.0.x What the ****! My project is now past due and I'm stuck because I can no longer ssh from any macs to internal machines mac or otherwise. PLEASE HELP!!! is there an SSH pakage so I can re-install? I couldn't find a mac ssh package on apple or ssh.org, Will that even make a difference? Can I uninstall the security update? Can anyone suggest a workaround?
My network
*10.0.1.2 Ganymede (Mandrivia 10 server and Gateway)
*10.0.1.6 Artemis (G5 10.4.7) Web/Video
*10.0.1.10 Miletus (G4 10.4.7) Web Testing
*10.0.1.5 Venus (G4 10.4.7) Photo editing
*10.0.1.4 Hero (G3 ibook 10.4.7) office work
*10.0.1.7 Hermes (iMac 10.4.7) iLife
*10.0.1.3 Apollo (Wintendo XP) Web Testing/The Sims
Here are several ssh logs.
mac to mac (FAIL)
Artemis:~ phil$ ssh -vv 10.0.1.10
OpenSSH_4.2p1, OpenSSL 0.9.7i 14 Oct 2005
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.0.1.10 [10.0.1.10] port 22.
debug1: Connection established.
debug1: identity file /Users/phil/.ssh/identity type -1
debug1: identity file /Users/phil/.ssh/id_rsa type -1
debug1: identity file /Users/phil/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_4.2
debug1: match: OpenSSH_4.2 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.2
debug2: fd 3 setting O_NONBLOCK
debug1: An invalid name was supplied
Cannot determine realm for numeric host address
debug1: An invalid name was supplied
A parameter was malformed
Validation error
debug1: An invalid name was supplied
Cannot determine realm for numeric host address
debug1: An invalid name was supplied
A parameter was malformed
Validation error
debug1: SSH2MSGKEXINIT sent
debug1: SSH2MSGKEXINIT received
debug2: kexparsekexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-g roup1-sha1
debug2: kexparsekexinit: ssh-rsa,ssh-dss
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: none,[email protected],zlib
debug2: kexparsekexinit: none,[email protected],zlib
debug2: kexparsekexinit:
debug2: kexparsekexinit:
debug2: kexparsekexinit: firstkexfollows 0
debug2: kexparsekexinit: reserved 0
debug2: kexparsekexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-g roup1-sha1
debug2: kexparsekexinit: ssh-rsa,ssh-dss
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: none,[email protected]
debug2: kexparsekexinit: none,[email protected]
debug2: kexparsekexinit:
debug2: kexparsekexinit:
debug2: kexparsekexinit: firstkexfollows 0
debug2: kexparsekexinit: reserved 0
debug2: mac_init: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug2: mac_init: found hmac-md5
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2MSG_KEX_DH_GEXREQUEST(1024<1024<8192) sent
debug1: expecting SSH2MSG_KEX_DH_GEXGROUP
Write failed: Broken pipe
Artemis:~ phil$
Mac to linux internal (FAIL)
Artemis:~ phil$ ssh -vv 10.0.1.2
OpenSSH_4.2p1, OpenSSL 0.9.7i 14 Oct 2005
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.0.1.2 [10.0.1.2] port 22.
debug1: Connection established.
debug1: identity file /Users/phil/.ssh/identity type -1
debug1: identity file /Users/phil/.ssh/id_rsa type -1
debug1: identity file /Users/phil/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3
debug1: match: OpenSSH_4.3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.2
debug2: fd 3 setting O_NONBLOCK
debug1: An invalid name was supplied
Cannot determine realm for numeric host address
debug1: An invalid name was supplied
A parameter was malformed
Validation error
debug1: An invalid name was supplied
Cannot determine realm for numeric host address
debug1: An invalid name was supplied
A parameter was malformed
Validation error
debug1: SSH2MSGKEXINIT sent
debug1: SSH2MSGKEXINIT received
debug2: kexparsekexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-g roup1-sha1
debug2: kexparsekexinit: ssh-rsa,ssh-dss
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: none,[email protected],zlib
debug2: kexparsekexinit: none,[email protected],zlib
debug2: kexparsekexinit:
debug2: kexparsekexinit:
debug2: kexparsekexinit: firstkexfollows 0
debug2: kexparsekexinit: reserved 0
debug2: kexparsekexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-g roup1-sha1
debug2: kexparsekexinit: ssh-rsa,ssh-dss
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: none,[email protected]
debug2: kexparsekexinit: none,[email protected]
debug2: kexparsekexinit:
debug2: kexparsekexinit:
debug2: kexparsekexinit: firstkexfollows 0
debug2: kexparsekexinit: reserved 0
debug2: mac_init: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug2: mac_init: found hmac-md5
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2MSG_KEX_DH_GEXREQUEST(1024<1024<8192) sent
debug1: expecting SSH2MSG_KEX_DH_GEXGROUP
Write failed: Broken pipe
mac to linux external (Success)
Artemis:~ phil$ ssh -vv 69.253.x.x
OpenSSH_4.2p1, OpenSSL 0.9.7i 14 Oct 2005
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 69.253.x.x [69.253.x.x] port 22.
debug1: Connection established.
debug1: identity file /Users/phil/.ssh/identity type -1
debug1: identity file /Users/phil/.ssh/id_rsa type -1
debug1: identity file /Users/phil/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3
debug1: match: OpenSSH_4.3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.2
debug2: fd 3 setting O_NONBLOCK
debug1: Miscellaneous failure
No credentials cache found
debug1: Miscellaneous failure
No credentials cache found
debug1: SSH2MSGKEXINIT sent
debug1: SSH2MSGKEXINIT received
debug2: kexparsekexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-g roup1-sha1
debug2: kexparsekexinit: ssh-rsa,ssh-dss
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: none,[email protected],zlib
debug2: kexparsekexinit: none,[email protected],zlib
debug2: kexparsekexinit:
debug2: kexparsekexinit:
debug2: kexparsekexinit: firstkexfollows 0
debug2: kexparsekexinit: reserved 0
debug2: kexparsekexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-g roup1-sha1
debug2: kexparsekexinit: ssh-rsa,ssh-dss
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes1 92-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac- md5-96
debug2: kexparsekexinit: none,[email protected]
debug2: kexparsekexinit: none,[email protected]
debug2: kexparsekexinit:
debug2: kexparsekexinit:
debug2: kexparsekexinit: firstkexfollows 0
debug2: kexparsekexinit: reserved 0
debug2: mac_init: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug2: mac_init: found hmac-md5
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2MSG_KEX_DH_GEXREQUEST(1024<1024<8192) sent
debug1: expecting SSH2MSG_KEX_DH_GEXGROUP
debug2: dhgenkey: priv key bits set: 130/256
debug2: bits set: 514/1024
debug1: SSH2MSG_KEX_DH_GEXINIT sent
debug1: expecting SSH2MSG_KEX_DH_GEXREPLY
debug1: Host '69.253.239.85' is known and matches the RSA host key.
debug1: Found key in /Users/phil/.ssh/known_hosts:3
debug2: bits set: 516/1024
debug1: sshrsaverify: signature correct
debug2: kexderivekeys
debug2: set_newkeys: mode 1
debug1: SSH2MSGNEWKEYS sent
debug1: expecting SSH2MSGNEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2MSGNEWKEYS received
debug1: SSH2MSG_SERVICEREQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2MSG_SERVICEACCEPT received
debug2: key: /Users/phil/.ssh/identity (0x0)
debug2: key: /Users/phil/.ssh/id_rsa (0x0)
debug2: key: /Users/phil/.ssh/id_dsa (0x0)
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /Users/phil/.ssh/identity
debug1: Trying private key: /Users/phil/.ssh/id_rsa
debug1: Trying private key: /Users/phil/.ssh/id_dsa
debug2: we did not send a packet, disable method
debug1: Next authentication method: keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug2: we did not send a packet, disable method
debug1: Next authentication method: password
[email protected]'s password:
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: clientsession2setup: id 0
debug2: channel 0: request pty-req confirm 0
debug2: channel 0: request shell confirm 0
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 131072
Last login: Tue Aug 15 12:56:42 2006 from artemis.ganymedia.net
[phil@ganymede ~]$
G5 Dual 2G Mac OS X (10.4.7)Mac comes with a fully functioning Apache web server with all the scripting languages (except VB). You need to enable them in the configuration file.
You need some light weight UNIX administration skills to do this. Use the system restore disk to set the password for the root account.
Open a terminal screen from the Utilities folder in Applications. Type "su", press return, then enter the root password you set using the system restore disk.
Make a backup copy of the Apache configuration file with the following command (type this in with no mistakes and press the return key).
cp /etc/httpd/httpd.conf /etc/httpd/httpd.conf.copy
Enter the following to open the Apache configuration (type this in with no mistakes and hit the return key).
/Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/httpd/httpd.conf &
Locate and remove the # comment symbol from the following lines and save the file in /etc/httpd/httpd.conf.
#LoadModule php4_module libexec/httpd/libphp4.so
#AddModule mod_php4.c
Exit the TextEdit application and quit out of the terminal application.
Put the following web page into a file named greetings.php inside the folder Library/WebServer/Documents.
<html>
<head>
<title>Experiment</title>
</head>
<?php
echo "Greetings";
?>
</body>
</html>
Once you have made these changes, you can reboot to activate the changes.
Put the following into your browser to test the configuration.
http://localhost/greetings.php
You should see "Greetings" on a web page titled "Experiment".
MySQL is a separate server that you need to download and configure to complete your web server.
I hope this helps.
Best regards - Greg -
Edit PHP Webpage in Dreamweaver
Hi All,
I have Dreamweaver CS5 and I want to edit the design only for a website which is written in PHP. By design I mean things like changing the page layout, change the font type, size, etc.
But I only have one PC and I do not have internet. So what can I do to edit the website design?
Can I use an external hard drive as an external server? Or can I set up a virtual drive on my PC?
Or for a website in PHP do I even need to edit the design in PHP, or can I edit it in HTML?
Thanks.Setting up a PHP environment on your computer.
http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html
If your site uses MySql databases, you may need to set that connection up locally as well.
Building your first dynamic website – Part 1: Setting up your site and database connection
http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html
Nancy O. -
Can't view Wordpress PHP files in Dreamweaver CC.
Mac. MAMP.
I have downloaded my full site hosted on xxxx into MAMP htdocs.
Download directly from root public_html on host.
I keep getting "Dynamically-related files could not be resolved because the site definition is not correct for this server"
Even if I go "live view" and set - Web URL to: www.indochinaexplorers.com (my site) - instead of http://localhost, it comes up with a lot of PHP boxes.
Been through all tutorials for more than a week.
Have been through all possible settings and configurations under "Manage Site"
Did a Test - New PHP page. Same thing, it does not show, design or live view.
So stuck,
Thanks PeterI have the same issue and none of the alleged Guru's that answered have provided anything useful. Solid Web Design is about workflow, which could lead to innovation if people would stop reverse innovation language...Dreamweaver could be a viable wordpress solution if it worked as it's supposed to. CC is a bust as the focus has shifted to mobile first.
There are no "real pages" for you to edit in DW; just code fragments.
Wordpress is dynamically driven but this is untrue. Every PHP file in a theme has structure and is a "real page". Fragments have to be in a "file" to be called, they are not called out of thin air. If I want to style page.php, it cannot be done without first adding selectors. #mainContent for example. The only thing php does is add dynamic functionality. Page.php can be altered and saved as Page_fullwidth.php, Page_Music.php ,Page_webDesign.php and they can all have a different layout in the same theme. Else there would be no templates to choose from in the static page section of the WP Admin area.
Themes drive the appearance and functionality of your WP site. If you need a new look, find a different Theme and install it from your WP Dashboard.
How does this help?
Unless you are very familiar with PHP code and more specifically the PHP code WP uses, you will not have good results working in DW. You really must use the WP Dashboard to manage your content, Themes, and plugins.
This has nothing to do with the issue. The issue is Dreamweaver simply does not allow propper editing of wordpress sites in a dynamic environment. No one ever said they didn't know anything about php, creating wordpress themes, plugins, and so on...
Dear next genius..Since the question has already been asked, I won't ask it again, but the original inquiry is my issue as well. If you have figured out how to make this work, please respond, if not, please don't.
Mac -
Php extensions in Dreamweaver CS3
I have installed Dreamweaver CS3, I am now trying to run a
simple PHP script (A 'Hello World') however when I try running the
.php file my browser seems to timeout and the page does not run.
When I run a standard HTML page on the same website it does work.
I am using IIS 5.1 is there something else I need to set-up
for php to work?millsyadam wrote:
>
>
> I have installed Dreamweaver CS3, I am now trying to run
a simple PHP script
> (A 'Hello World') however when I try running the .php
file my browser seems to
> timeout and the page does not run. When I run a standard
HTML page on the same
> website it does work.
> I am using IIS 5.1 is there something else I need to
set-up for php to work?
Sounds like you have a problem with your PHP install (you do
have it installed right?). Maybe take a look at this page for
installing PHP:
http://livedocs.adobe.com/en_US/Dreamweaver/9.0/help.html?content=WS9C4F33E1-12B2-4e40-BD4 0-5D66C1F75EB6.html
You may want to ask follow up questions in the App Dev forum
as that forum is focused on the dynamic server side of Dreamweaver:
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=12&catid=263&entercat= y
Danilo Celic
|
http://blog.extensioneering.com/
| Adobe Community Expert -
Hi,
I'm wondering if anyone has been unable to open php files.
When I try to open them Dreamweaver freezes. I have reinstalled CS3
and deleted all of the local files and downloaded them all over
again from the remote site but nothing seems to fix the
problem.Excellent! I was wondering how to solve that since it was
happening to
me as well, i was even working on notepad++ in those files
with PHP and
just saw this thread.
Thank you so much for your answer Alan that definitively
solve the
problem so back to DWCS3 again :)
Alan wrote:
>
>> It happened to me on two separate computers on the
exact same day. It was the
>> same day CS4 was released and a Icon showed up in my
Cs3 telling me to go get
>> it. As soon as this icon appeared, my PHP files
started crashing Dreamweaver.
>> Search the net, many people encountered the exact
same thing that same week.
>>
>> Weird, but it happened.
>>
>
> Yes- but it had a different cause. Deleting the one
corrupt file is less
> drastic that deleting or renaming the entire
Configuration folder.
>
> TechNote
>
> Dreamweaver CS3 crashes after Daylight Savings Time ends
>
> Issue
>
>
> Adobe Dreamweaver CS3 crashes when working with certain
PHP or ASP files in
> Code view or Design view after the clock goes back one
hour, when Daylight
> Savings Time ends. The crashes only occur when selecting
certain lines in
> Code view, or selecting certain objects in Design view.
The crashes only
> occur in files that have PHP or ASP code, intermingled
with HTML code. The
> crashes do not occur in Dreamweaver 8 or earlier (Ref.
229536).
>
>
> Reason
>
>
> The Dreamweaver CS3 WinFileCache-AD76BB20.dat file has
been corrupted by the
> time change.
>
>
> Solution
>
>
> 1. If Dreamweaver is open, quit the application.
> 2. Delete the WinFileCache-AD76BB20.dat file from the
Dreamweaver user
> configuration folder. Note that on Windows, the
Application Data and AppData
> folders are hidden by default, so verify that your
Windows Explorer folder
> options are set to View Hidden Folders. The location of
this file is as
> follows:
> * Dreamweaver CS3 on Windows Vista:
> C:\Users\[username]\AppData\Roaming\Adobe\Dreamweaver
9\Configuration
> * Dreamweaver CS3 on Windows XP:
> C:\Documents and Settings\[username]\Application
Data\Adobe\Dreamweaver
> 9\Configuration
> 3. Restart Dreamweaver.
>
>
> Keywords
>
> Code/Design view, Daylight Savings Time, Dreamweaver,
crashes
>
> TechNote Details
> Last Update: 11-05-2007
> ID: kb402776
>
Maybe you are looking for
-
PL/SQL :ORA-04052 with Database link
i have created a database link in my producation database as following CREATE PUBLIC DATABASE LINK <NAME> CONNECT TO <USER> IDENTIFIED BY <P/W> USING <CONNECT STRING OF TARGET DATABASE oracle version 9.0.2.8 OS : Windows 2003 EE R2 SP2 Using oracle f
-
Install files delete themselves
Hi everyone I just bought a 2gig nano and i have windows xp. i tried installing with the cd it came with and everything looked fine, but then when i looked for the files there were none, no folders, nothing. i changed my install directory to my deskt
-
Synchronous file adapter sender side configuration in sap pi
Hi Experts synchronous file adapter sender side configuration in sap pi can you explain any one tell me step by step procedure? Regards Sagar
-
Safari quit and screen went black
Was browsing the internet, then Safari quit,then screen went black and system froze.managed to start up again, by unplugging power, but my question is why that should happen ?. Any help?
-
REP-52251: Cannot get output of job ID
Hi, I am trying to call a report from oracle form and i am getting this error REP-52251: Cannot get output of job ID 220 you requested on Mon Oct 16 11:19:12 EDT 2006. REP-56033: Job 220 does not exist please help, any Ideas. Best regards,