Dreamweaver 8 with ASP, Coldfusion, & amp; PHP

I'm new to php and I'm working in Dreamweaver 8 with ASP, Coldfusion and PHP training from the Source. I have a real simple form. A user enters their name and name and then click on the submit button. The form is then treated with a script using the $_GET [name]; $_GET [name]; and it should display "Thank you, name,." using my form But the page shows the HTML with a notice: Undefined index: first_name in C:\htdocs\newland\test_form_processor.php on line 9. Line 9 is - thank you < p >, <? PHP echo $_GET ['name'];? > <? PHP echo $_GET ['name'];? >, for my application. < /p >. This was accomplished using the link Panel in DW. It is not any kind of troubleshooting in the book. Can someone tell me what this means? It worked as it is supposed to work when I had just the first name.

Thank you, David. Yes my form looks like as you suggest. The problem is resolved. I have problems with DW not to upload files to the test server on my machine. And the problems with the browser doesn't not refreshing pages. Between the two, I was about to lose my mind.

I have read and worked through your book "Foundation PHP for DW 8" last year and I just got your new book "PHP Solutions" today. PHP for DW 8 was really easy to follow and everything worked as it should. I hope I like "PHP Solutions" as well.

Charles Burnell

Tags: Dreamweaver

Similar Questions

  • The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and PHP by David Powers

    The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and PHP by David powers:

    This book would help me learn more about Spry and Ajax and how applications may be lodged with them, if I have my e-commerce site works on a compiled C code cart (ShopSite) but supports scripts PHP server-side or is - this only for shopping carts based on PHP itself (like X-Cart)?

    I'm not sure. Someone please let me know if I can buy this book. Thank you.

    ahsenabro wrote:
    > 1. What I need to be a developer/programmer to learn from this book or
    > can a savvy entrepreneur can also get some gems out of it and direct sound
    > programmer?

    You don't need no prior knowledge of PHP or Ajax, but you must
    know the basics of HTML and CSS. As I say in the introduction, "You."
    don't need to be an expert, but do not have a curious mind.
    It teaches the basics of web site design, or he's trying to list
    each unique feature in Dreamweaver CS3. There are many other books
    to fill this gap. However, by working through this book, you will gain a
    in-depth knowledge of the most important features of Dreamweaver.

    > 2. I am interested in buying this book especially to implement cool Ajax/Spry
    > stuff on my e-commerce site. I wonder about PHP, because the content of the book
    > mentions making a PHP site. Now I realize this book isn't on purchases
    > carts, but the Ajax/Spry stuff can be implemented on e-commerce sites, right?

    The book provides detailed coverage of the features of Spry 1.4
    Dreamweaver CS3, which can be applied to any site. With minor
    adjustment, you can also use Spry 1.6. It is important to realize,
    However, the features of Spry/Ajax in Dreamweaver CS3 * cover of no
    asynchronous requests to the server. The ability to communicate
    asynchronously with the server has been added in Spry 1.6. If it has
    the asynchronous server calls and answers you are looking for, your
    programmer will need to dig into the documentation for Spry 1.6 on the
    Adobe Labs site and manually code it.

    The Spry features covered in the book are Spry, Spry UI widgets effects
    (menu accordion, tabbed and folding panels), Spry
    Widgets of validation and Spry XML data sets.

    > I just want to know if I can learn and implement Ajax/Spry apps on my
    > HTML/CSS-based simple pages, on a server that allows PHP scripts on the server side
    > but the pages themselves are not with the .php extension. This book is still going
    > apply?

    Yes. All Spry techniques can be used on any web page. This is not
    you have to be a PHP one.

    --
    Adobe Community Expert David Powers
    Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • I need help with the code of php mailer

    I followed the instructions to make this announcement and I get an email but no inside information. No message, no who he comes, nothing. only the mailer 'shape' is received. I am new to DW, still using training wheels. can anyone help?

    Here's the code for the contact page:

    <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "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 > Untitled Document < /title >
    < / head >

    < body >
    < do action = "mailer.php" method = "post" > "

    Name: < br / > < input name = "test" type = "text" size = "32" / > < br / >
    E-mail: < br / > < input name = "email" type = "text" size = "32" / > < br / >
    Message: < br / > < textarea name = "message" rows = "10" cols = "40" > < / textarea > < br / >
    < input type = "submit" name = "submit" value = "Submit" / >
    < / make >
    < / body >
    < / html >

    code for mailer:

    <? PHP
    $to = "[email address removed by Moderator] ';
    $subject = "from my Web site";
    $headers = "from: Form Mailer ';
    $forward = 0; 0 = no redirect, redirection of 1 = 1
    $location = ""; If 1 then "yoursite.com".

    $date = date ("' 1, f js, y" ");
    $time = date (' h: i A ");

    $mgs = "this is the result of your feedback form. He received the $date $time.\n\n ";

    If ($_SERVER ['REQUEST_METHOD'] == 'POST') {}
    foreach ($_POST as $key = > $value) {}
    $mgs. = ucfirst ($key). » : «. $value. "\n";
    }
    }
    else {}
    foreach ($_GET as $key = > $value) {}
    $mgs. = ucfirst ($key). » : «. $value. » \n » ;
    }
    }
    mail ($à, $subject, $msg, $headers);
    If ($forward == 1) {}
    Header ("' Location: $location '");
    }
    else {}
    echo "thank you for your visit. We will review your information that has been sent to us. Be blessed! « ;
    }

    ? >

    [Proposed by the correct forum Moderator]

    The problem really has nothing to do with Dreamweaver, but your lack of experience with PHP.

    For example, you have this line of code:

    $date = date ("1,f js,y");
    

    If you use echo to display the output of the $date, what you get is this:

    1,f 1257,09
    

    Not a very useful date, I think you would agree.

    What should be your code is the following:

    $date = date ("l, F jS, Y");
    

    Very similar, but completely different insofar as PHP is concerned. Note that the first character is lowercase L and not one. The other letters are also crucial.

    This code generates "Sunday, July 12, 2009.

    Now, why have you not no messages? Elementary, my dear Watson. Throughout your code, you assign to a variable called $mgs the message. When finally, you send the mail, the variable you are using is $msg. I suspect that $mgs should be $msg throughout. As humans, we can identify the misspelling and may ignore it. The computers cannot. You must be very attentive to the spelling when you work with a language like PHP.

  • installation of Dreamweaver fails with unknown error code - 55

    I don't seem to be able to go beyond the installation of dreamweaver, it still fails to download with error code of-51

    I tried to install as administrator, same result.

    tried the tool adobe of cleaning to clean and re - install, always fails at the same place, the download of dreamweaver fails with error code of-51

    Hi Ravir81928808,

    Please see the links below:

    Error "Unable to install" received when installing Adobe Creative Cloud desktop application

    Error in downloading, installing or updating Adobe Creative Cloud applications

    Troubleshoot Adobe Creative cloud download, install and update questions

    Solve the problems installing Adobe Creative Cloud with log files

    Installation and launch log errors | Adobe Creative Suite 6, Adobe Creative Suite 5.5, Adobe Creative Suite 5

    Let us know if that helps.

  • How to use mode live view in Dreamweaver CC with protect pages.

    Sorry I'm french how to use mode live view in Dreamweaver CC with a protect page. display live, tell me it's unable to connect. So I need to protect my pages

    Thank you

    Ok.  Keep .htaccess on your remote server.

    In the site local files Panel, F2 (rename) to the old.htacess.htacess.

    Which will disable the file .htacess on your local computer only.

    Nancy O.

  • I can stil buy Dreamweaver CS6 with a student permit?

    I can stil buy Dreamweaver CS6 with a student permit?

    You can get it here: http://www.adobe.com/products/catalog/cs6._sl_id-contentfilter_sl_catalog_sl_education_sl _ creativesuite6.edu.html

    If the regular pricing initially ($399,00 USD), click on the link "student and teacher pricing ' at the bottom of the grey area on the right side of the screen.

    Once the correct price is shown, DWCS6 should be $149.00 USD for students/teachers qualification.

  • Is it possible to access Dreamweaver cs6 with my creative cloud membership? My teacher uses t

    Is it possible to access Dreamweaver cs6 with my creative cloud membership? My teacher is using that old version and it's hard to follow his tutorials because cc is so different.

    Yes.  Remember to follow the INSTRUCTIONS VERY IMPORTANT or it won't work.

    CS6 direct downloads

    http://prodesigntools.com/Adobe-CS6-direct-download-links.html

    Once you download the trial version, you can activate it with your official cloud creative log - in credentials.

    The version of the CS6 creative cloud (12.2) is a little different from the boxed version (12.0) your instructor is using probably.  Some menu options have changed.  See the link below for more details on what's new ~

    2013.html http://helpx.adobe.com/Dreamweaver/using/Whats-New-Dreamweaver-Creative-Cloud-Release-Feb-

    Nancy O.

  • Adobe Dreamweaver works with Google Chromebooks?

    I tried to understand if Adobe Dreamweaver works with Google Chromebooks.  I run the school Web site at my high school, and we currently use all Adobe on CS5.5 products.  Our school is now starting to implement Chromebooks.   The Adobe Suite will work on Chromebooks?

    Would appreciate the help!

    N ° Chromebook run on Chrome OS. The Creative Suite runs only on Windows or Mac OS X.

  • Question about password reset in lesson08 David Powers (Dreamweaver CS5 with PHP)

    I'm at page 299 that found a problem in reset password. I managed to received email link to reset the password. In the reset password form, why no verification of the length of password unmatch with password or password not entered confirmed? Instead, it displays the error message ' sorry, there was an error. Make sure that you used the complete URL in the email you received. The URL can be used to change your password only once. If necessary... "The error message of 'passwords do not match' or 'Use 8-15 letters or numbers only' not treated."

    Help, please!

    Thank you

    It is a known error in the code in the book and on the CD. The correction was posted on my Web site at http://foundationphp.com/phpcs5/errata.php.

    The solution is simple. You must encapsulate the following line in a conditional statement:

    $_SESSION ['nomatch'] = TRUE;

    The modified code looks like this:

    If (! isset($_SESSION['user_id'])) {}

    $_SESSION ['nomatch'] = TRUE;

    }

  • Help with the session variable PHP CS5.5 - Please

    Hi all

    I am needing a little help with the help of a session variable, and I hope someone can point me in the right direction.

    I created a PHP page that uses the Dreamweaver 'User authentication' feature and the basics of this works very well, to direct a user to the correct page depending on whether they are or are not a valid user. I want to customize the page 'user valid' with people, user name entered in the authentication of the user table... a seemingly simple task using a session variable, but I just seem not to be able to make it work!

    The generated code for the AU on page 1 is the following:

    <? PHP

    Validate request to connect to this site.

    If (! isset {})

    session_start();

    }

    $loginFormAction = $_SERVER ['PHP_SELF'];

    If (isset($_GET['accesscheck'])) {}

    $_SESSION ['PrevUrl'] = $_GET ['accesscheck"];

    }

    If (isset($_POST['txtfirst_name'])) {}

    $loginUsername = $_POST ['txtfirst_name'];

    $password = $_POST ['txtsurname'];

    $MM_fldUserAuthorization = "";

    $MM_redirectLoginSuccess = "member_update.php";

    $MM_redirectLoginFailed = 'login.php ';

    $MM_redirecttoReferrer = false;

    @mysql_select_db ($database_panto, $panto);

    $LoginRS__query = sprintf ("SELECT firstname, name OF web_access WHERE firstname = %s AND family name = %s",

    GetSQLValueString ($loginUsername, "text"), GetSQLValueString ($password, "text"));

    $LoginRS = mysql_query ($LoginRS__query, $panto) or die (mysql_error ());

    $loginFoundUser = mysql_num_rows ($LoginRS);

    If {($loginFoundUser)

    $loginStrGroup = "";

    If (via PHP_VERSION > = 5.1) {session_regenerate_id (true) ;} else {session_regenerate_id() ;}

    Declare two session variables and assign them

    $_SESSION ['MM_Username'] = $loginUsername;

    $_SESSION ["MM_UserGroup"] = $loginStrGroup;

    If (isset($_SESSION['PrevUrl']) & & false) {}

    $MM_redirectLoginSuccess = $_SESSION ["PrevUrl"];

    }

    Header ("Location:".) $MM_redirectLoginSuccess);

    }

    else {}

    Header ("Location:".) $MM_redirectLoginFailed);

    }

    }

    ? >

    First of all, the text highlighted in red above seems to be setting the session variable that I need. Is this correct?

    If so, what is the code that I need to put on page 2 to use this session variable? or

    I have to do something else on the page 1 to correctly assign the session variable?

    Would be very grateful for your expertise

    Mark

    It seems that you put the columns incorrectly in the user authentication server behavior. This is the SQL query that checks the credentials of the user:

    $LoginRS__query = sprintf ("SELECT firstname, name OF web_access WHERE firstname = %s AND family name = %s",

    GetSQLValueString ($loginUsername, "text"), GetSQLValueString ($password, "text"));

    You are looking for first name and last name, while you should look for the user name and password of the user.

    $_SESSION ['MM_Username"] is a session variable that stores the login name of the user. To use it in a page, all that is needed is the page start with session_start(). You can then echo the value to display.

    If you want to display the person's true name, you must create a recordset in the second page, use of $_SESSION ['MM_Username'] to search for the first name and the patronymic. Alternatively, you can change the code like this (I copied only part of it):

    $LoginRS__query = sprintf ("SELECT firstname, surname OF web_access WHERE firstname = %s AND password is %s",

    GetSQLValueString ($loginUsername, "text"), GetSQLValueString ($password, "text"));

    $LoginRS = mysql_query ($LoginRS__query, $panto) or die (mysql_error ());

    $loginFoundUser = mysql_num_rows ($LoginRS);

    If {($loginFoundUser)

    $loginStrGroup = "";

    $row = mysql_fetch_assoc ($LoginRS);

    $_SESSION ['full_name'] = $row ["FirstName"]. ' ' . $row ['name'];

    If (via PHP_VERSION > = 5.1) {session_regenerate_id (true) ;} else {session_regenerate_id() ;}

    Declare two session variables and assign them

    $_SESSION ['MM_Username"] = $loginUsername;

    $_SESSION ["MM_UserGroup"] = $loginStrGroup;

    You can then use $_SESSION ['full_name'] in a page which begins with session_start().

  • May 9-Coldfusion and PHP 5.1 coexist on the same server?

    I have

    found an analytical tool that I use for my companies intranet, and it requires PHP 5.1 must be installed on the server. This server will also be CF 9 on it as well. PHP 5.1 will interfere with the web site and the applications on the server written in CF 9?

    Yup, ColdFusion share and play well with others.

  • Problems with the ColdFusion Extensions and CF/Flex Application Wizard

    I configured the Eclipse RDS according to the instructions in the help documentation. The RDS Fileview and Dataview work OK, but I did have luck with the browser Services: when I try to increase (+) the element localhost, the only thing that appears is the message "Unable to get the metadata for CFCs."

    The components Panel in Dreamweaver 8, which has exactly the same information, works very well.

    Perhaps related to the above: when I create a Flex with the CF/Flex Application Wizard project and examine project properties, in the Flex Server section, I get "because this project does not use a server, these settings do not apply. I find it strange: a ColdFusion project that does not use a server? In any case, the wizard, I not was able to create a simple project that works.

    If anyone has had similar problems and was able to solve them, I would be grateful little light on the subject.

    Carlos

    Well, I could solve this problem by CF UN-installing and reinstalling.

    I did some more tests (UN/reinstall once again) and it seems that this problem occurs when CF is installed in devnet version mode and not if in developer mode.

    To check if CF is installed in devnet mode look in the administrator of the CF under "server settings-> analytical settings-> version information", you will see a notation for devnet.

    I also did a little poking around and it happens whenever you install CF using a certain range license keys. The keys of this range are valid keys for installation, but they alter some critical parameters in CF (watermark paper/pdf flash and apparently some RDS stuff), the solution is to install with a key dev-net or in developer mode.

  • Setting up a Dreamweaver Site with directories outside the Web root

    I have my web server, the following web site structure:

    \WebSite\ wwwbeta.evansville.edu D:\
    \Extensions\CustomTags\ wwwbeta.evansville.edu D:\
    \Extensions\Components\ wwwbeta.evansville.edu D:\
    \Extensions\Includes\ wwwbeta.evansville.edu D:\

    The web site in the web server root, is mapped to "D:\ wwwbeta.evansville.edu \WebSite\.
    The other three directories of "Extensions" are accessible only by ColdFusion and should stay outside the web root. However, I want to be able to edit these directories in DW, as well.

    In Dreamweaver, I have the local root folder defined on C:\WebSites\ wwwbeta.evansville.edu.
    The HTTP address is on http://wwwbeta.evansville.edu/

    However, these settings just don't jive during the insertion of links. (I don't want to use relative links. We only use absolute links).

    When I insert a link, it will as long as "/ WebSite/Link.cfm. I understand very well why this is happening. However, I am looking for suggestions on how to configure DW, if possible, for me to work with all of these directories, in a unique site of DW definition, generating yet correct absolute links.

    I don't think that this is possible. Please show me the light.

    Thank you!

    > However, these settings just don't jive during the insertion of links. (I don't want to
    > use relative links. We only use absolute links).
    >
    > When I insert a link, it will as long as "/ WebSite/Link.cfm.

    It is a relative path, a relative path root site.

    because you chose a folder which is a folder of level higher than we should
    for the record of Site Local to this site, dw made the wrong way.

    There was not anyway you want.
    Set the Site Local folder to
    \WebSite\ wwwbeta.evansville.edu D:\

    and dw will properly the root of the relative site or document relative paths for
    the main site folder

    You will not be able to touch anything in these other folders with dw, because
    they are out of the structure of the site.

    You can define a new site for each of the other files, and then you could
    have dw make correct paths when working on includes, for example.

    As far as I KNOW, you can't do it with a single site def.

    --
    Alan
    Adobe Community Expert, dreamweaver

    http://www.Adobe.com/communities/experts/

  • Help please with ASP.

    Hello.

    I have a flash form that I created, simply ask for a name, message and e-mail. http://www.plobs.com/basic_mail.htm

    When you tap on send the flash file requires the file basic_mail.asp with the following text:

    < % @language = "VBSCRIPT" % >

    < %

    Dim myMail, create

    Create = "name:" & vbcrlf & request.form ("name") "
    Create = create & "Email:" & request.form ("email") & vbcrlf.
    Create = create & "Message:" & vbcrlf & request.form ("message").

    Set myMail = CreateObject ("CDONTS. NewMail")

    myMail.BodyFormat = 1
    myMail.MailFormat = 1
    myMail.From = request.form ("email")
    myMail.To = "[email protected]".
    myMail.Subject = "Get Plobbed"
    myMail.Body = create
    myMail.Send

    Set myMail = nothing

    It works very well. I don't get the info no problem.

    The only problem is that I get only the info if an e-mail address is entered.

    I would like to be able to receive all comments. All fields are optional.

    How can I change my code so that I will receive all submissions or not all the fields are filled...

    Can anyone help?

    Murray was on the right track. It's just that it changed the evil
    place. A LCO will not send if it doesn't have valid e-mail addresses the
    To and from the field.

    What you need to do is

    <% @language="VBSCRIPT" %>

    <>

    Dim myMail, create, varEmail

    Create = "name:" & request.form ("name") & + "\n".

    If request.form ("email") = "" then < br=""> varEmail = "[email protected]" < br=""> Else < br=""> varEmail = request.form ("email") < br=""> End if

    Create = create & "Email:" & varEmail & + "\n" < br=""> create = create & "Message:" & + "\n" & request.form ("message")»»» "

    Set myMail = CreateObject ("CDONTS. NewMail")

    myMail.BodyFormat = 1
    myMail.MailFormat = 1
    myMail.From = varEmail
    myMail.To = "[email protected]" < br=""> myMail.Subject = "Get Plobbed" < br=""> myMail.Body = create
    myMail.Send

    set myMail = nothing

    %>

    --
    Paul Whitham
    Certified Professional Dreamweaver MX2004
    Adobe Community Expert - Dreamweaver

    Valleybiz Web design
    www.valleybiz.NET

    "Mike" wrote in message
    News:e61t59$6sj$1@forums. Macromedia.com...
    > Thanks for that.
    >
    > However, I tried this format and what happens is the following:
    >
    > When I press 'send' the form, I get a "this page cannot be displayed".
    > page &
    > I don't get the info to the e-mail account.
    >
    > Not quite sure what goes wrong.
    >
    > I'll keep experimenting.
    >
    > Murray * ACE *, thank you for your answers.
    >
    >

  • Problem of UK with ASP and Access database date format

    I have an Asp form that updates of the records in a database Access. It comes
    the date of the registration of database format is dd/mm/yyyy (UK), when
    the folder is displayed in the form, it is mm/dd/yyyy (US) who, after I
    update the record in the database, the date has changed to the new format.

    I tried everything I can to change the format
    vain... someone at - it any ideas how I can fix this?


    Thank you
    Steve

    Stevo.s wrote:
    > Hi
    >
    > I tried to change the format on the date field on the server behaviors
    > panelto DDMMYYYY. Also have tried to define the field of form DDMMYY format. I have
    > also tried to use a function that I got from a somehwere to post on the net or not
    > avail. < %="" fonction="" ddmmyyyy(vardate)=""> < br=""> > DDMMYYYY = Day (DateValue (varDate)) & "/" & Month (DateValue (varDate)) < br=""> > & "/" & Year (DateValue (varDate)) < br=""> > end function < br=""> > < br=""> > I believe that it is a problem with Dreamweaver and access but < br=""> > can't seem to grasp her work around! Problem being that I teach myself through < br=""> > books and internet articles and can take weeks at a time without being able to < br=""> > watch question... whenever I come back to it, it's like start all over < br="" >="" >="" nouveau !="" j’espérais="" que="" quelque="" part="" de="" sortir="" là,="" il="" y="" a="" une="" solution="" simple="" le=""> < br=""> > may deliver a datePicker with the built-in functionality to address the < br=""> > question... I am wanting to understand how to deal with the issue rather than simply < br=""> > change my date field of database to fudge the issue that I'm in England and when I < br=""> > eventually start using the application, I wish there is some < br=""> > coherence with the dates of arrival and that users are familiar with the format. < br=""> > < br=""> > any help gratefully received!

    Its not Dreamweaver, or access, its your settings regional servers, his game to the United States < br=""> format, not in the United Kingdom.

    On your page at the top of the page using:

    < %="" session.lcid="2057" %="">

    This will force the page using UK format dates. Use it on any
    page to format the page correctly.

    Dooza
    --
    Display guidelines
    http://www.Adobe.com/support/forums/guidelines.html
    How to ask Smart Questions
    http://www.CatB.org/ESR/FAQs/smart-questions.html

Maybe you are looking for