MMHTTPDB.php does not

OK I tried today a new Adobe Dreamweaver CC. I have install the plug-in to connect to the databases. I take the FTP connection and take my localhost file and take PHP MYSQL. PHP job!

I'm going to connect data bases, but when I insert data DB I don't take no MMHTTPDB.php file in my position. I look at this folder is EMPTY I have look on the internet on this file, but not found. Can someone take mi this file or help my how fix the program create?

I eat a TINY Humble Pie. I have now it works.

Follow this video http://www.youtube.com/watch?v=cB2vmNfcq7A

Tags: Dreamweaver

Similar Questions

  • ignore a field number of column PHP does not

    I have a database of products and sizes, if the sold named column has a value of 0, I won't be displayed in the drop-down list, but it does not work

    you see where I'm wrong

    SELECT *.

    PoochieProd, poochieCat, poochieSizes, poochieStock

    WHERE poochieProd.CatID = poochieCat.CatID AND poochieProd.ProdID = poochieStock.ProdID AND poochieSizes.SizeID = poochieStock.sizeID AND poochieProd.ProdID = var1 AND poochieStock.sold! = 1

    My db column is

    poochieStock of the table and the column is named sold

    either with a value 1 or 0.

    1 is sold out

    the selection list is

    < select name = "os0" class = 'text' id = 'selectSize' >

    < option value = "size" > select size < / option >

    <? PHP {? >}

    < option value = "<?" PHP echo $row_rsProdList ["SizeID'];? > "> <?" PHP echo $row_rsProdList ["Size"];? > < / option >

    <? PHP} while ($row_rsProdList = mysql_fetch_assoc ($rsProdList));? > < / select >

    Thanks in advance

    Jonathan Fortis wrote:

    I have a database of products and sizes, if the sold named column has a value of 0, I don't want to show in the menu drop down,

    In this case, the last part of your WHERE clause must be poochieStock.sold! = 0.

    However, there is an inconsistency in your message. Later, you say that 1 means exhausted.

  • Homepage of PHP does not work in Google Chrome, but works well in Firefox

    When you type the name of my sites, mtwatersheds.org, it appears in firefox, but the background image is not displayed in chrome. When I click on the home button, the address turns to mtwatersheds.org/index.php and everything seems as it did in Firefox. Can I do something to change this, or I have to include a new file for the homepage in chrome?

    Thank you for your time.

    It in fact does not in Firefox either. I suspect that you have a different default page. If I compare the source between the default page and index.php there is differerent. The image has a. In the name of the file LCK. Check your server for other default pages that may exist in the root and check your server configuration for which the default pages are listed.

  • Problem with PHP does not and in shape, that I can't get rid of the Extra space

    This is my first time doing a form, much less using php. I would appreciate your help on the following issues.

    1. in the form when you go to the site there is too much vertical space between the fields in the form.

    2. the field Message a script inside that vistors can see.

    3. the hit the button send, it redirects me to a blank page and no thankyou.html page I had created.

    4 form is not send the email to [email protected]

    Web site URL: http://stickmancustoms.com/contact.html

    <! - FORM CODE STARTS HERE - >

    <? PHP session_start();? >

    <? PHP

    If (array_key_exists ('submit', $_POST)) {}

    check the name field

    $name = trim($_POST['name']);

    If (empty ($name)) {}

    $error ['name'] = "Please enter your first name";

    }

    Else if ($name == "Please provide your first name") {}

    $error ['name'] = ";

    }

    $_SESSION ['name'] = $_POST ['name'];

    check the phone field

    $phone = trim($_POST['phone']);

    If (empty ($phone)) {}

    $error ['phone'] = 'Please enter your last name. "

    }

    else if ($phone == "Please provide your last name") {}

    $error ["phone"] = ";

    }

    $_SESSION ['phone'] = $_POST ['phone'];

    check the email field

    $email = trim($_POST['email']);

    If (empty ($email)) {}

    $error ['email'] = 'Please enter your email address ';

    }

    else if ($email = 'Please enter your email address') {}

    $error ['email'] = ";

    }

    $_SESSION ['email'] = $_POST ['email'];

    check the field of inquiry

    $message = trim($_POST['message']);

    If (empty ($message)) {}

    $error ['message'] = 'Please enter your message details. "

    }

    ElseIf ($message = "Please enter the details of your message") {}

    $error ['message'] = ";

    }

    $_SESSION ['message'] = $_POST ['message'];

    If (! empty($_POST['ufo'])) {return false ;}

    recipient

    $to = " [email protected] "; email address - set up your own email

    subject of the e-mail

    $subject = "I am interested in your services, please contact me."

    sender

    $sender = "from:". " $_POST ['email']. » \r\n » ;

    build the message

    $enquiry = "name: $name\n\n;

    $enquiry. = "Name: $phone\n\n";

    $enquiry. = "e-mail address: $email\n\n";

    $enquiry. = "message: $message\n\n";

    Send email if no form errors is

    If (! isset ($error)) {}

    mail ($ $subject, $enquiry, $sender);

    Header ("Location: thankyou.html").        Redirect page - set up your own page

    }

    }

    ? >

    CONTACT WEB PAGE CODE BELOW

    <! 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 = "auto repair, accidents, custom painting, customizing, auto repair, paint job, hot rod, motorcycle, cycle, bicycle, chopper.

    Content = "at StickMan customs we provide a personalized service with a smile. With over 20 years of experience in the auto repair and customization, you can be sure that we will meet your expectations and beyond. "/ >"

    < name meta = "google-site-verification" content = ""-41pB0MQUYT1Vbv1SId8WcU2lqEmFf0u23Sl3NY24CE "/ >"

    < title > Stickman customs < /title >

    < meta http-equiv = "Content-Type" content = text/html"; charset = iso-8859-1 "/ >"

    < link href = "smc.css" rel = "stylesheet" type = "text/css" / > "

    < style type = "text/css" >

    <!--

    a: visited {}

    color: #F4781E;

    }

    ->

    < / style >

    < / head >

    < body bgcolor = "#000000" >

    < table width = "936" height = "200" border = "0" align = "center" >

    < b >

    "< td height ="196"valign ="top"> < class p ="style1"> < a href =" index.html"target ="_self"> < a href =" index.html "target ="_self"> < img src =" images/smcbanner.jpg"width = '936' height = '194' border = '0' well ="#Map"/ > < / has >"

    < name of the map 'Map' id = 'Card' = >

    < area shape = "rect" coords = "97,7,289,190" href = "index.html" target = "_self" / > "

    < area shape = "rect" coords = "290,156,380,189" href = "about.html" target = "_self" / > "

    < area shape = "rect" coords = "396,159,550,190" href = "repair.html" target = "_self" / > "

    < area shape = "rect" coords = "561,159,619,190" href = "cars.html" target = "_self" / > "

    < area shape = "rect" coords = "627,159,703,188" href = "cycles.html" target = "_self" / > "

    < area shape = "rect" coords = "711,160,885,190" href = "projects.html' target ="_self"/ >"

    < area shape = "rect" coords = "734,23,917,78" href = "contact.html" target = "_self" / > "

    < area shape = "rect" coords = "786,175,787,176" href = "#" / >

    < / map >

    < /p >

    < table width = "936" border = "0" align = "center" cellpadding = "5" cellspacing = "5" >

    < b >

    < td width = "512" height = "450" valign = "top" > < class p = "Headers" > < img src = "images/car1.jpg" width = "432" height = "432" / > < / p > < table > "

    < td width = "389" height = "450" valign = "top" > < form id = "enquiryForm" name = "enquiryForm" method = "post" action = "contact.php" >

    < h1 > < span class = "BodyBold" > contact us </span > < / h1 >

    < h1 > < span class = "BodyCopy" > * required information </span > < / h1 >

    < h1 > < span class = "BodyBold" >

    < label for 'Name' = > name * < / label >

    </span >

    < input type = "text" name = "name" id = 'name' <? PHP if (isset ($error ['first_name'])) echo "style =' border: 1px #C00 solid;" color: #C00; "« ; ? > value = "<?" PHP if (isset ($name)) {echo $name ;}? > <? PHP if (isset ($error ['first_name'])) echo $error ['name'];? "" > "onfocus ="this.value ="" / >

    < / h1 >

    < p >

    < label for = 'Name' class = "BodyBold" > phone * < / label >

    < input type = "text" name = "Phone" id = 'phone' <? PHP if (isset ($error ['phone'])) echo "style =' border: 1px solid #C00;" color: #C00; "« ; ? > value = "<?" PHP if (isset ($phone)) {echo $phone ;}? > <? PHP if (isset ($error ['phone'])) echo $error ['phone'];? "" > "onfocus ="this.value ="" / >

    < p >

    < label for class = "email" = "BodyBold" > Email * < / label >

    < input type = "text" name = "email" id = "email" <? PHP if (isset ($error ['email'])) echo "style =' border: 1px solid #C00;" color: #C00; "« ; ? > value = "<?" PHP if (isset ($email)) {echo $email ;}? > <? PHP if (isset ($error ['email'])) echo $error ['email'];? "" > "onfocus ="this.value ="" / >

    < style p = "" padding-bottom: 0; ">"

    < label for the category 'investigation' == 'BodyBold' > Message * < / label >

    < br / >

    < textarea name = "message" id = 'message' <? PHP if (isset ($error ['message'])) echo "style =" border: 1px solid #C00; "» color: #C00; "« ; ? > onfocus = "' this.value =" "> <?" If (isset ($message)) {echo $message ;} php? > <? PHP if (isset ($error ['message'])) echo $error ['message'];? >

    < / textarea >

    < /p >

    < p >

    < input type = "text" name = "ufo" style = "" display: none; "/ >"

    < input type = "submit" id = "submitButton" name = "submit" value = "Submit" / >

    < /p >

    < / form > < table >

    < /tr >

    < / table > < table >

    < /tr >

    < /table >

    < table width = "936" border = "0" align = "center" cellpadding = "0" cellspacing = "0" >

    < b >

    < td > < div align = "center" >

    < div align = "center" class = "bottomlinks" >

    < p > < a href = "about.html" target = "_self" > < br / > "

    About us < img src = "images/space.jpg" alt = "s" width = "18" height = "7" border = "0" / > < /a > | " "" < a href = "index.html" target = "_self" > < img src = "images/space.jpg" alt = "s" width = "18" height = "7" border = "0" / > < /a > < a href = "repair.html" target = "_self" > ACCIDENT REPAIR < /a > < a href = "index.html" target = "_self" > < img src = "images/space.jpg" alt = "s" width = "18" height = "7" border = "0" / > < / has > | " "" < a href = "index.html" target = "_self" > < img src = "images/space.jpg" alt = "s" width = "18" height = "7" border = "0" / > < /a > < a href = "cars.html" target = "_self" > CARS < /a > < a href = "index.html" target = "_self" > < img src = "images/space.jpg" alt = "s" width = "18" height = "7" border = "0" / > < / has > | " "" < a href = "index.html" target = "_self" > < img src = "images/space.jpg" alt = "s" width = "18" height = "7" border = "0" / > < /a > < a href = "cycles.html" target = "_self" > CYCLES < /a > < a href = "index.html" target = "_self" > < img src = "images/space.jpg" alt = "s" width = "18" height = "7" border = "0" / > < / has > | " "< a href =" index.html"target ="_self"> < img src =" images/space.jpg "alt ="s"width ="18"height ="7"border ="0"/ > < /a > < a href =" projects.html' target = "_self" > SPECIAL PROJECTS < /a > < /p > "

    < class p = "Address_Text" > StickMan customs < br / >

    800 Rd Mooresville, Kannapolis, NC 28081 < br / >

    704.699.5110 < /p >

    < / div >

    < class p = "style74" > < span class = "atb_text" > Designed & amp; Hosted by </span > < br / >

    " < a href =" http://www.abovethebarrdesign.com " " target = "_self" > < img src = "images/atbd.jpg" alt = "1" width = "155" height = "77" border = "0" / > < /a > < br / >

    < /p >

    < / div > < table >

    < /tr >

    < /table >

    < / body >

    < / html >

    <!-text below generated by server. Please REMOVE-->

    <!-code counter/statistics-> data collection

    " < script language ="JavaScript"src =" http://us.js2.yimg.com/us.js.yimg.com/lib/SMB/js/hosting/CP/js_source/whv2_001.js "type =" text/javascript"> < / script > "

    < script language = "JavaScript" type = "text/javascript" > geovisit(); < /script >

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < noscript >

    " < img src = ' http://visit.webhosting.Yahoo.com/visit.gif?us1262644054 "alt ="setstats"border ="0"width ="1"height ="1"/ > "

    < / noscript >

    < / html >

    LannBarr wrote:

    It is a response to these two David & Osgood,

    If (! isset ($error)) {}

    mail ($ $subject, $enquiry, $sender);

    Header ("Location: http://www.stickmancustoms.com/thankyou.html");  Redirect page - set up your own page

    }

    }

    ?>

    Change the bit above the code php as below:

    If (! isset ($error)) {}

    mail ($ $subject, $enquiry, $sender);

    echo ' ';

    }

    }

    ?>

  • Police in PHP does not

    I'm redesigning our Web site.  We have an online employment application someone else wrote for us.  The text of the application is currently in Arial.  Please visit: http://www.stpaulpha.org/applyonline.php

    On my redesigned page, the police are NOT in Arial, but I want it to be.  Page PHP said that the family of police is Arial in several places and my CSS files all specify them Arial.  How to edit this page use Arial: http://preview.stpha.org/applyonline.php

    Your

    tag has some css inline setting the italic font family. Who should be removed because it will overwrite css embedded or external.

    You must also run your page through the validator at htt://validator.w3.org and clean up the errors. You have a few ongoing cascades and your final output page has more than 900 mistakes.

  • Tutorial of FLEX2 + PHP does not?

    http://www.Adobe.com/devnet/flex/articles/flex2_php.html

    doesn't seem to work?

    my SQL AND PHP is configured correctly
    I can get a datagrid to display data when I manually enter to my database
    problem is that it is not submitting data? Basically, nothing happens. [no error]

    Help...

    http://www.Adobe.com/devnet/flex/articles/flex2_php.html

    doesn't seem to work?

    my SQL AND PHP is configured correctly
    I can get a datagrid to display data when I manually enter to my database
    problem is that it is not submitting data? Basically, nothing happens. [no error]

    Help...

  • Server 5.2 php pgsql.so module does not

    After installation of macOS Sierra and Server 5.2, I find that Roundcube is no longer able to connect to a PostgreSQL database. I back down to the file php.ini configuration does not load the pdo_pgsql.so/pgsql.so modules. All the world has noticed this change?

    I see that the server still has its own php.ini file with extension to pgsql inside settings. However, the configuration of php is more load the server php.ini file, because it seems before. How could I do php load in the server's PHP.ini?

    I have this problem as well!

    It is very bad, I have a few site that using pgsql and they are now down until I'm looking for the solution!

  • Why my php export feature does not work in IE and not firefox?

    Why my php export feature does not work in IE and not Firefox? I wrote a web application that contains a SigmaGrid. Grid controls reload, add update delete, print and export to CSV all work in IE8. The export function does not work in Firefox.

    Have you tried to test your application on IE7/8/9 and FF10/Chrome/Opera?

  • Windows 7: the search does not find the files that should be, directory is indexed and *.php included on the list of extensions

    Windows 7: search does not find the files that should be. I have indexed directory and *.php included on the list of extensions, but search can't find files for Word searches that I know there are files with these words in them.

    If you're frustrated by research (aka Desktop Search), you are not alone. Click the Start button and type find and click the button 'change the way Windows search'. Now click on the Advanced button and select the tab file types scroll down and find your type of file (in your case .php) and make sure the radio button "index properties and the content of the file" is selected for the file type.

    Out the form by clicking on the OK button, but do not close the form when you click the Advanced button.

    Then, you may need to change the indexing locations. If the folder where your files are located is not known for indexing search, then search is not even bother looking for here (a source of frustration for many users). Maybe your files are located on another drive or partition without the knowledge of the indexing engine. Using the options icon and select/deselect expand, make sure that at least the files of interest are included for the indexed locations. I hope this helps.

    samc1

  • PHP contact form does not work

    I created my page using godaddy but my php contact form does not work. When sending a message, he won't have to the sent Message (su message to ha enviado) page, but it is not actually send any mails. The accounts are set up, but it does not work. The web page is cuysrus.com, the contact form is on the contact page.

    This is the code I used for the php class linked to the html file:

    <? PHP

    $to = " [email protected] "; "

    $subject = 'new message ';

    $nombre = $_POST ['number'];

    $apellido = $_POST ['apellido'];

    $message = $_POST ['message'];

    $headers = "from: ". " [email protected] \n";

    $headers. = "X-Mailer: PHP /'." phpversion();

    $headers. = "MIME-Version: 1.0\r\n";

    $headers. = "content-Type: text/html;" charset = iso-8859-1\n ";

    $retval = mail ($to $subject, $message, $headers);

    If ($retval == true) {}

    echo "message Su will ha enviado.

    } else {}

    echo "Vuelva a intentarlo.

    }

    ? >

    Well sorry that I forgot to ask about the action of form... you will need to rework this if you do not have to use the form of godaddy.

    a few things... first of all, you have the transformation code in the page, if you want that your action forms literally go anywhere.  ' change action = "? »

    Second, you'll need a 'trigger' in the form must be added a hidden as field

    Thirdly, finally, you have this block of code that I rewrote the process, if there is a request for 'process' then here is the code:

    <>

    form of process

    If (@$_REQUEST ['process']) {}

    $headers = "from: [email protected] \n";

    $to = "[email protected]";

    $subject = 'new message ';

    $body = "number:". "" $_REQUEST ['number']. »

    Apellido: ".." $_REQUEST ['apellido']. »

    Message: ".." $_REQUEST ['message']. »

    ";

    $retval = mail ($to $subject, $body, $headers);

    If ($retval == true) {}

    echo "message Su will ha enviado.

    } else {}

    echo "Vuelva a intentarlo.

    }

    }

    ?>

  • PHP code the code works but aspx does not work...

    First of all - many apologies because it is NOT directly associated if I use Dw CS6 and Visual Studio 2012 set of Dreamweaver.

    I have two pages of contact - want it in aspx rather than php because I get vb code while I do not understand php.

    In addition to this, I add validation in the aspx version that I do not know how to do it in a php page.

    Then...

    The php version works with the mail command.

    It DOES NOT REQUIRE to have a specified smtp mail server AND IT WORKS.

    However try the same in VB/ASP.NET is a different baby.

    Thanks in advance for any comments.

    Terry

    the php file is: -.

    ------------------------------------------------------------------------------------------ -----------

    < body >

    <? PHP

    $recipient = ' [email protected] ';

    $subject = "EXAMPLE PHP CONTACT."

    Success message sent to the user after the e-mail was sent. / / You can leave it as what or change the wording.

    $success = "< h1 > thank you to fill out and submit the form. < / h1 > < p > someone will process your message and get back to you as soon as posible. "< /p > < p > < a href =" / "> < /a > back to Home Page < /p >";

    error message sent to the user. / / You can leave it as what or change the wording.

    $failure = "< h1 > there was an error by e-mail information < / h1 > < p > we could not send your information to return of form at the moment." < /p > < p > please wait a few minutes and try again. "< /p > < p > < a href =" / "> < /a > back to Home Page < /p >";

    ###########################################

    Do not edit below this line

    ###########################################

    Collect all the information on the form and check that all fields have been filled.

    $email = $_POST ['email'];

    If (sizeof($_POST)) {}

    $message = "";

    While (list ($key, $val) = {each($_POST)})

    If ($key == 'Submit') {}

    do nothing

    }

    else {}

    $message. = "$key: $val\r\n";

    Checks if the $val contains data

    {if (Empty ($Val))}

    ECHO ("< h1 > error in the entry of the form < / h1 > < p > all the form fields must be filled in and some have not been filled in. < /p >")

    < p > please visit < a href = "javascript: history.go(-1)" ' > back < /a > and try again < /p > ");"

    Exit();

    //}

    }

    }}

    Validate email address

    If(!preg_match("/^[a-z0-9]+([_\\.-][a-z0-9]+) * '. ' @". " ([a-z0-9]+([\.-][a-z0-9]+)*) + ". » \\. [a - z] {2,}"." $/ "(,$email)) {}"

    ECHO ("< h1 > error in form input < / h1 > < p > a wrong e-mail address was entered.") < /p > < p > please go < a href = "javascript: history.go(-1)" ' > < < /a > /a > back, and then try again > /p > ");"

    Exit();

    }

    ###########

    function filter_email_header ($form_field) {}

    Return preg_replace ('/ [\0\n\r\|\!\/\<\>------^-$-%------*--------&] + / ', ", $form_field);

    }

    $email = filter_email_header ($email);

    $headers = "from: $email\n";

    $sent = mail ($recipient $subject, $message, $headers);

    If ($sent)

    {

    the below html code can be modified to change the user receives the message of thanks

    ? >

    Success of < h1 > < / h1 >

    < /P > < p > SUCCESS

    <? PHP

    } else {}

    the message that is sent to the user if the form information has not been sent.

    ? >

    < h1 > something went wrong < / h1 >

    < p > SOMETHING going ON WRONK < /p >

    <? PHP

    }

    ? >

    < / body >

    ---------------------------------------------------------------------------------

    The aspx file is: -.

    ---------------------------------------------------------------------------------

    Imports System.Net

    Imports System.Net.Mail

    Partial Class _Default

    Inherits System.Web.UI.Page

    Protected Sub btnSubmit_Click (ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.Click

    Me.lblError.Text =""

    Me.divResultDiv.InnerHtml = "XXXX".

    lblName.Text = «»

    lblEmail.Text = «»

    ' -------------------  validation  ---------------------

    If Trim (Me.txtName.Text) = "" then

    lblName.Text = "this field is required.

    Exit Sub

    End If

    If Trim (Me.txtEmail.Text) = "" then

    lblEmail.Text = 'this field is required.

    Exit Sub

    End If

    If Trim (Me.txtEmail2.Text) = "" then

    lblEmail2.Text = 'this field is required.

    Exit Sub

    End If

    If (txtEmail.Text) Trim <>Trim (txtEmail2.Text) then

    lblEmail2.Text = "e-mail addresses must match to.

    Exit Sub

    End If

    If Ucase (Trim (txtAnswer.Text)) then <>'WHITE'

    lblError.Text = 'Did not question correctly.'

    Exit Sub

    End If

    ' -------------------  validation  ---------------------

    ' --------------------------------------------------------

    "IF WE GET HERE then EVERYTHING OK - BUILD THE MESSAGE

    ' --------------------------------------------------------

    Dim mail as new System.Net.Mail.MailMessage

    mail. Body = Me.txtComment.Text

    mail. Subject = "MESSAGE FROM WEB.

    mail. To.Add ("[email protected]")

    mail. From = new System.Net.Mail.MailAddress (Me.txtEmail.Text)

    Dim smtp as new System.Net.Mail.SmtpClient

    Dim strMessage As String = «»

    Try

    SMTP. Send (mail)

    "Me.lblStatus.Text ="Message sent... We will answer you as soon as possible"

    strMessage = "< h2 > < / h2 > < h2 > thank you for your inquiry." "< / h2 >" & _

    "< br / > < /p > to SUCCESS."

    Catch ex As Exception

    "Me.lblStatus.Text ="There is an error in sending, please try again in a moment"

    strMessage = "< h2 > < / h2 > < h2 > error sending message < / h2 >" & _

    "< br / > < FAILURE P > < /p >.

    End Try

    Me.Panel1.Visible = False

    Me.divResultDiv.InnerHtml = strMessage

    End Sub

    End Class

    You use System.Net.Mail , which in turn uses SMTP rather than the PHP mail() function.

    To see more

    or Google the topic.

  • 2015 Dreamweaver does not have ready php functions (insert, delete and select)

    Hello all the dreamweaver configuration is correct, but when I use the ready functions insert, select, delete, login (php in the database) does not work, I tried everything already and what works is to do it manually. What can you do for me?

    See here http://www.dmxzone.com/go/21842/enable-server-behaviors-and-data-bindings-panel-support-fo r-dreamweaver-cc

  • I have a html file and in it, I have a PHP contact form. However, the html code does not run php. pls help... Thank you

    I wrote a simple html Web page with menus and pull-down (using Dreamweaver) which also includes a contact form. The contact form is in PHP. However, when I run the html file, all right and that the contact form appears, however, she does not run PHP code. Do I have to make any changes of setting or download all the files? Thank you very much

    If you run your own apache server, then you need also a mail server, but if you use a hosted service then your host should have the scripts and HTML on their Web site.  Otherwise, you can use Wufoo free version and you can create your own form and code (JavaScript) that can be integrated into your HTML page. I used Wufoo in Joomla sites and it works very well.

  • PHP includes does not - can anyone offer advice?

    I am trying to register a .php in an .php

    It works on all my other files, just not this one.

    and the result is that it does not display the contents of the .php file.

    Under Style Ram VTL

    line include "sheet001.php."

    I am new to this, and I'm totally frustrated

    See highlighted in red below.

    <! 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"XML: lang ="FR"lang ="FR"dir ="ltr">"
    "< profile head ="http://gmpg.org/xfn/11">."
    < title > Kira America | Products < /title >
    < meta http-equiv = "Content-Type" content = text/html"; charset = iso-8859-1 "/ >"
    < meta http-equiv = "imagetoolbar" content = "no" / >
    "< link rel ="stylesheet"href="/styles/layout.css "type =" text/css"/ >
    <!--2 column added to the Page and not the Layout.css-> Stylesheet
    "< link rel ="stylesheet"href="/styles/2_column.css "type =" text/css"/ >
    "< link rel ="stylesheet"href="/menus/ajxmenu.css "type =" text/css"/ >
    < link href = "" / default.css "rel ="stylesheet"type =" text/css"/ >"
    "< script src="/menus/ajxmenu.js "type =" text/javascript"> < / script >
    < / head >
    < id body = "top" >
    < div class = "row1 wrapper" >
    <? PHP include 'headnav.php '? >
    < / div >
    <!-- ######################################################################################### ############## -->
    < DIV id = "topnav2" >
    <? PHP include 'topnav.php '? >
    < / DIV >
    <!-- ######################################################################################### ############## -->
    < div class = 'wrapper row3' >
    < div class = "rnd" >
    < div id = "container" class = 'clear' >
    <!-- ######################################################################################### ############## -->
    < div id = "left_column" >
    < DIV id = "lnav" >
    < div id = "content" >
    < h1 class = "title" > Ram Style VTL < / h1 >
    <? PHP include 'sheet001.php '? >
    < / div >
    < / DIV >
    < / div >
    <!-- ############ -->
    <!-- ############ -->
    <!-- ######################################################################################### ############## -->
    < / div >
    < / div >
    < / div >
    <!-- ######################################################################################### ############## -->
    < div class = 'wrapper row4' >
    <? PHP include 'footer.php '? >
    < / div >
    <!-- ######################################################################################### ############## -->
    < / div >
    < / div >
    < / div >
    <!-- ######################################################################################### ############## -->

    <! - LeadFormix - >
    "< a href ="https://www.leadformix.com"title ="Marketing Automation"onclick =" window.open (this.href); return (false); ">
    < script type = "text/javascript" >
    var (("https:" == document.location.protocol) = pkBaseURL? ' ") https://Vlog.leadformix.com/":"https://vlog.leadformix.com/");"
    <!--
    bf_action_name = ";
    bf_idsite = 8509;
    bf_url = pkBaseURL + ' bf/bf.php';
    (function() {}
    LFH var = document.createElement ('script'); LFH.type = ' text/javascript '; LFH. Async = true;
    LFH. SRC = pkBaseURL +' bf/lfx.js;
    var s = document.getElementsByTagName ('head') [0]; s.appendChild (lfh);
    })();
    ->
    < /script >
    "< noscript > < p > Marketing Automation Platform < img src ="https://vlog.leadformix.com/bf/bf.php"style =" border: 0 "alt ="Marketing Automation Tool"/ > < / p >"
    < / noscript >
    < /a >
    <!-/-> LeadFormix
    < / body >
    < / html >

    It's so frustrating...

    You are too busy in your frustration. Therefore, I can't follow your workflow in this last message (like what you mean by "he created rstyle_files and added the 4 files?).

    May not contain any file to include,orTags. It takes just a fragment of code that would be validly placed betweenand. Please try this to see if it improves things.

  • php redirection based on the value does not?

    Hello, I have a registration page, a login, failed.php and one page landing page once they have signed.

    the user registers (application - formP1.php) then once they did that they would be redirected to the next page (request - formP2.php) they then add other information.

    There is a redirect on request - formP1.php this case, the user has finished with the page (completed) they are directed to the application - formP2.php

    If ($status is "P1complete")

    {

    Header ("location: application - formP2.php");

    }

    the trouble I have is that if I just tried to access applications - formP1.php (which is the registration page) it is automatically sending the user to demand - formP2.php even if they are not signed, then because they are not signed it sends the user to the page failed (obiously because the user of retstrict does not work)

    I have included the code below for application - formP1.php

    If ((isset($_POST["MM_insert"])) & & ($_POST ["MM_insert"] == "form1")) {}

    $insertSQL = sprintf ("VALUES INSERT INTO LettingsTenApp (tenID, progress, tenTitle, tenUsername, tenPassword, tenSex, tenEmail, tenDobDD, tenDobMM, tenDobYY, tenDepend, tenMarital, tenPrevSurn, tenEmployTyp, tenNINumber) (%s %s %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)',

    GetSQLValueString ($_POST ['tenID'], "int").

    GetSQLValueString ($_POST ['progress'], "text").

    GetSQLValueString ($_POST ['tenTitle'], "text").

    GetSQLValueString ($_POST ['tenUsername'], "text").

    GetSQLValueString ($_POST ['tenPassword'], "text").

    GetSQLValueString ($_POST ['tenSex'], "text").

    GetSQLValueString ($_POST ['tenEmail'], "text").

    GetSQLValueString ($_POST ['tenDobDD'], "text").

    GetSQLValueString ($_POST ['tenDobMM'], "text").

    GetSQLValueString ($_POST ['tenDobYY'], "text").

    GetSQLValueString ($_POST ['tenDepend'], "text").

    GetSQLValueString ($_POST ['tenMarital'], "text").

    GetSQLValueString ($_POST ['tenPrevSurn'], "text").

    GetSQLValueString ($_POST ['tenEmployTyp'], "text").

    GetSQLValueString ($_POST ['tenNINumber'], "text"));

    @mysql_select_db ($database_Letting, $Letting);

    $Result1 = mysql_query ($insertSQL, $Letting) or die (mysql_error ());

    $insertGoTo = "app - formP2.php";

    If (isset {}

    $insertGoTo. = (strpos ($insertGoTo, '?'))? « & » : « ? » ;

    $insertGoTo. = $_SERVER ['QUERY_STRING'];

    }

    header (sprintf ("location: %s", $insertGoTo));

    }

    @mysql_select_db ($database_Letting, $Letting);

    $query_rsTenant = "SELECT * FROM LettingsTenApp";

    $rsTenant = mysql_query ($query_rsTenant, $Letting) or die (mysql_error ());

    $row_rsTenant = mysql_fetch_assoc ($rsTenant);

    $totalRows_rsTenant = mysql_num_rows ($rsTenant);

    $status = $row_rsTenant ['progress'];

    Redirect the user if their application is completed

    If ($status is "P1complete")

    {

    Header ("location: application - formP2.php");

    }

    and shape

    < do action = "<?" PHP echo $editFormAction;? ">" method = "post" name = "form1" >

    < input type = "submit" value = "Save & amp; Continue"/ >

    < input type = "hidden" name = "progress" value = "P1complete" / >

    < input type = "hidden" name = "MM_insert" value = "form1" / >

    < / make >

    Thank you

    > or is it not the workflow. ?

    This is useful, but it is not yet clear what makes a large part of your code.  So when the user logs in, they were redirected to the script that you have placed in us? Do you have an online version, where you can see the workflow?

    Your script must then use the user connection in the select SQL.  This may be the variable session or the posted username form field.

    If it still does not work, then you should test the value of the session variable or the values posted

    echo $_SESSION ['MM_Username"]

    or

    echo $_POST ['tenID']

    But your code is a mess. Your form fields do not match your PHP. For example, you show us:

    but test it to the ground to help

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

Maybe you are looking for