CSS and php include

I have a dreamweaver template which has the following include a php file in the first lines.

<? PHP
include '... / public_html/code/db.php ';
? >

The model also includes a couple of format css stylesheets

< link href = "... rel of the/public_html/CSS/na_style_scr. CSS = "stylesheet" type = "text/css" media = "screen" >

When I save documents from this model in different folders in the site, the link include has not updated, so I updated the template like below

<? PHP
include ("..") /.. ("/ code/db.php");
? >

Now the documents can be saved anywhere on the site and the link is correct, but I view the document in dreamweaver, the file appears as if there is no style sheet. The file is displayed correctly on the testing server.

Has anyone previously met, or someone can suggest a solution to this?

Thank you very much

Patch

Thanks for these tips.

I have now found a solution to the problem of Dreamweaver not poster not formatting CSS of the page. Initially, I had my

<>
include ("..") ("/ code/db.php");
?>

Code of the first line of thetag.

In moving it so that it now appears before thetag and manufacturing including the following tag

The problem now seems to be circumvented.

Don't know why, but it works, I don't really mind.

Thanks for the comments.

Tags: Dreamweaver

Similar Questions

  • 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

  • iFrame and PHP ~ CSS generated content (Wordpress)

    Hello

    I have an IFRAME that calls a wordpress page. I don't want to use the browser scrollbars by default if I want to use the IFRAME script drop down located at this address: http://www.dynamicdrive.com/dynamici...amescroll.htm# but! the second stage of this duty to add this at the end of the HTML page loaded into the IFRAME:

    <!-DO NOT REMOVE the SCRIPT below. IT MUST ALWAYS APPEAR at the end of YOUR CONTENT.

    < script language = "JavaScript1.2" >

    Scrollable III content - by http://www.dynamicdrive.com

    var speed, currentpos is curpos1 = 0, alt = 1, curpos2 =-1

    function initialize() {}
    If {(window.parent.scrollspeed!=0)}
    Speed = Window.parent.scrollspeed
    ScrollWindow()
    }
    }

    function scrollwindow() {}
    Temp = (document. All)? document.body.scrollTop: window.pageYOffset
    ALT =(Alt==0)? 1: 0
    If (alt == 0)
    curpos1 = temp
    on the other
    curpos2 = temp

    window.scrollBy(0,speed)
    }

    setInterval ("initialize ()", 10)

    < /Script >
    the problem is that Wordpress pages strongly using PHP and CSS, so I don't know if it is even possible to add the script somewhere, or if there is another method... or maybe simply impossible.

    Hope someone can help me.

    Hello Christian Cruz,

    This is for pages in WP are cut back to ofer in CSS and PHP and JS but it is also true that everything is set to allow other scripts work.

    Is (almost) Save to put your sctipt in the servese the page theme file that you want to call. Of course, you should save a copy of this file and so on and do an extensive testings.

    Kind regards

    M.Zografski.

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

    Geckozone.org

  • 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/

  • DWCS # previews only PHP include and nothing else

    Migration of DWCS2 towards my whole site DWCS3 PHP display mode "Code and Design" correctly. They seem to work fine if I make changes in the Code and download. It is very difficult for me to work that way, though.

    When you work in CS2 design mode would not display includes the "PHP" as I expected. Everything works beautifully on download on our server. Now, however after upgrade to CS3, Dreamweaver seems to want to only display the first statement 'PHP include' and nothing else that I did on the page.

    I created a few screenshots to the following address. Comapison between CS2 and CS3 Code and Design views

    Any help would be greatly appreciated. Im sure I must have done something incorect when I built the site initially, but I don't know what. The online site can be accessed at Heart Center of Wyoming

    Please let me know if any other information is required.

    Best regards and thank you.

    Thank you, David.

    I knew it was something basic.

    Best regards.

  • Can't get my (php include) foot to the bottom of the page!

    Hello

    I have a site where I've successfully added the using the header <? PHP include()? >

    I added the <? PHP include()? > tag at the end of my content on the homepage, but it either sticks in the middle of the page that you highlight, or change position (in css) crazy.

    I don't want the footer to include in the class content that's a 800px width. I want that my footer to 100% width at the bottom of the page

    Here's my footer.php:

    <! - start .footer - >

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

    < div class = "footer" >

    < br / >

    < table class = "footer" width = "100%" border = "0" >

    < b >

    < td width = "33%" colspan = "3" > < a style = "" color: #CBCBCB "href="main/feedback/feedback.php "> < /a > comment | < a style = "" color: #CBCBCB "href="main/contact/contact.php "> < /a > Contact | < a style = "" color: #CBCBCB "href =" http://eepurl.com/WtSur "> newsletter < /a > |" " < a style = "" color: #CBCBCB "href="main/donate/donate.html "> < /a > gift | < a style = "" color: #CBCBCB ' href = "Files/Terms and Conditions.pdf" > terms and Conditions < /a > < table > "

    < /tr >

    < b >

    < td colspan = "3" > < table >

    < /tr >

    < tr valign = "bottom" >

    < td width = "33 percent" height = "60" >

    <! - PayPal Logo - >

    " < a href =" https://www.PayPal.com/UK/webapps/MPP/PayPal-popup "title ="How PayPal"onClick =" javascript:window.open ('https://www.paypal.com/uk/webapps/mpp/paypal-popup ',' WIPaypal ',' toolbar = no, location = no, directories = no, status = no, menubar = no, scrollbars = yes, resizable = yes, width = 1060, height = 700'); return false; "" > < img src = "https://www.paypalobjects.com/webstatic/mktg/logo/bdg_secured_by_pp_2line.png" border = '0' alt = 'Secured by PayPal' > < /a > < div style = "text-align: Center" > < / div > "

    <! - PayPal Logo - >

    < table >

    < td width = "33%" > < img src = "images/mdjn - logo.png" width = "175" height = "58" / > < br / > < table >

    " < td width ="33% "> < div align ="center"> < a target ="_blank"href =" " https://www.Facebook.com/pages/DJ-direct/179634702105699?Ref=HL " > < img src = images/Facebook.png"" width = "40" height = "40" alt = "facebook" / > < /a > < a target = "_blank" href = " http://plus.google.com/102808919725916371065 " > < img src = "images/Google +.png" width = "40" height = "40" alt = "google +" / > < / has > < / div > < table > .

    < /tr >

    < /table >

    & copy; DJ-live 2014 < br / >

    < / div >

    <! - end .footer - >

    Here is the CSS for the footer:

    @charset "utf-8";

    / * CSS document * /.

    .footer {}

    do-family: "Trebuchet MS", Arial, Helvetica, sans-serif;

    background-color: #2E2E2E;

    color: #A4A4A4;

    text-align: center;

    Width: 100%;

    position: absolute;

    }

    And finally, here is the page I'm trying to add the footer (include) on:

    <! doctype html >

    < html >

    < head >

    < meta charset = "utf-8" >

    < title > welcome < /title >

    < style type = "text/css" >

    {body

    margin: 0;

    padding: 0;

    background-color: #3e3e40;

    position: relative;

    }

    . Happy {}

    Width: 800px;

    height: 120px;

    margin: 0 auto;

    }

    .title {}

    color: white;

    do-family: Verdana, Geneva, without serif.

    text-align: center;

    do-size: 18px;

    Police-weight: 600;

    padding-bottom: 10px;

    }

    . Text {}

    color: white;

    do-family: Verdana, Geneva, without serif.

    text-align: center;

    padding: 10px;

    }

    {.testimonial}

    do-family: "Trebuchet MS", Arial, Helvetica, sans-serif;

    color: #FFF;

    background-color: #575757;

    text-align: left;

    margin-top: 0px;

    margin-bottom: 20px;

    padding: 20px;

    }

    < / style >

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

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

    < / head >

    < body >

    <? PHP include ("_header.php");? >

    < div class = "content" >

    < iframe width = "800" height = "180" src = "" / / www.cincopa.com/media-platform/iframe.aspx?fid=AcGA1sssNofx "frameborder ="0"scrolling allowfullscreen =" "style =" padding-top: 20px; "> < / iframe >

    < div class = "title" >

    At DJ-Direct, we are proud to provide the best service at an affordable price.

    < / div >

    < div class = "text" >

    When you want to organize an important occasion in your life, he must go to a perfect plan. If personal or professional wedding, or a corporate function, of such events memorable, nothing can be left to chance. It is cost-effective to book experts.

    < br > < br >

    Our entertainment, sent through professional DJs, mixing high range and equipment lighting and sound high definition made for a truly spectacular evening.

    < br > < br >

    Our DJs have a large amount of musical experience to create the atmosphere and feeling of any event.

    < br > < br >

    We provide professional shows of lighting and atmospheric effects to give your event that "WOW" factor If you need a great dramatic sountrack'u energy for a 21 or a wedding with lighting and sound for you.

    < br > < br >

    Move forward us and provide a tailored solution.

    < / div >

    < div style = "padding-top: 20px;" padding-bottom: 20px; "> < img src =" images/split.jpg"width ="800"height ="20"> < / div >"

    < div class = "title" > testimonials < / div >

    < div class = 'testimony' >

    < table width = "100%" border = "0" cellspacing = "5" cellpadding = "5" >

    < b >

    < td align = "" width = "85%" > < strong > Oxfam - charity event < facilities > < br / > "

    < em > The Old Queens Head < /em > < table >

    "< td width ="15% "> < img src="images/535px-5_stars.svg.png "width ="155"height ="31"/ > < table >

    < /tr >

    < b >

    < td colspan = "2" > & quot; Without DJ-live, the atmosphere at our charity concert would be the same. With so many different acts of different styles, we couldn't be happier to have the variation of lighting to set the modd. More than 100 paying spectators came to follow the event while he was absolutely necessary to have a professional lighting to ensure the night success. & quot; < br / >

    -Krishna Harilela < table >

    < /tr >

    < /table >

    < / div >

    < div class = 'testimony' >

    < table width = "100%" border = "0" cellspacing = "5" cellpadding = "5" >

    < b >

    < td align = "" width = "85%" > < strong > New Years Eve < facilities > < br / > "

    < em > Planet Hollywood < /em > < table >

    "< td width ="15% "> < img src="images/535px-5_stars.svg.png "width ="155"height ="31"/ > < table >

    < /tr >

    < b >

    < td colspan = "2" > & quot; I just wanted to say what a fantastic job DJ-live has done with the lighting of our Boogie Nights New Years Eve party at Planet Hollywood in London.   They were extremely professional throughout the implementation and in the evening.   They had three different styles of lighting based on three different areas of our restaurant at night. One for the dance floor, one for the bar and one for the dining room and he got the lighting on in each place. We hold many different styles of events at Planet Hollywood and would certainly use DJ-live again. Thanks again and I hope that we will work with you again in a near future & quot; < br / >

    -Alex Garland < table >

    < /tr >

    < /table >

    < / div >

    < div class = 'testimony' >

    < table width = "100%" border = "0" cellspacing = "5" cellpadding = "5" >

    < b >

    < td align = "" width = "85%" > < project strong Kenya > < / strong > < br / > "

    < em > < table > < /em > ACS-Egham international school

    "< td width ="15% "> < img src="images/535px-5_stars.svg.png "width ="155"height ="31"/ > < table >

    < /tr >

    < b >

    < td colspan = "2" > & quot; I was very impressed by the professionalism and technical expertise displayed by DJ-live to dance school. All students truly enjoyed music and features of the setting up of DJ - machine smoke and "lasers" were very popular! A big thanks to DJ-live for their work hard to do such a dance success & quot; < br / >

    -Hazel Caroline < table >

    < /tr >

    < /table >

    < / div >

    < div class = 'testimony' >

    < table width = "100%" border = "0" cellspacing = "5" cellpadding = "5" >

    < b >

    < td align = "" width = "85%" > < strong > Christmas party < facilities > < br / > "

    < em > Stoke Park < /em > < table >

    "< td width ="15% "> < img src="images/535px-5_stars.svg.png "width ="155"height ="31"/ > < table >

    < /tr >

    < b >

    < td colspan = "2" > & quot; I just want to thank DJ-live to support our event. We organized a Christmas party for various companies, and the feedback we received on the DJ was exceptional! They have set up in the ballroom and played fantastic music and their lighting all brought everyone to the dance floor. I will personally make sure to book DJ-live again for our event next Christmas. Thanks DJ-live! & quot; < br / >

    -Hendricks < table >

    < /tr >

    < /table >

    < / div >

    < / div >

    <? PHP include ("_footer.php");? >

    < / body >

    < / html >

    Thanks for any help!

    Max Resnikoff says:

    Now it's just stuck at the bottom of the browser window, not the Web page

    So where in fact do you want to go? If you want to follow the rest of the content of the page then don't add any positioning to the css:

    .footer {}

    do-family: "Trebuchet MS", Arial, Helvetica, sans-serif;

    background-color: #2E2E2E;

    color: #A4A4A4;

    text-align: center;

    Width: 100%;

    }

    And to get rid of the stupid stupid content height: 120px - what you expect the footer to do if you define stupid things like that?

    . Happy {}

    Width: 800px;

    height: 120px;

    margin: 0 auto;

    }

  • PHP include command covers all other content of the page in dreamweaver

    Hello

    I have problems with my php include command.

    I aheader that must be on all pages, but when I include it in a page, it will stop to view the original content of the page.

    To be able to edit pages (not the header include file), I have to comment or remove the php include so that the original content is displayed and can be edited.

    Is there a reason for this?

    <! doctype html >

    <? PHP include ("_header.php");? >

    < html >

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

    < link href =' http://fonts.googleapis.com/CSS?family=slabo+27px ' rel = "stylesheet" type = "text/css" >

    < head >

    < meta charset = "utf-8" >

    < title > welcome < /title >

    < / head >

    < body >

    It's the body of this page

    < / body >

    < / html >

    Try this:

    Content of the file of the hand:

    It's the body of this page

    _header.php table of contents:


    Home

    Welcome, * username

    Profile

    Calendar

    ACS Egham International School

    Drama database

    ACS Egham International School

  • 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 includes the file is not read.

    I made a php include file that contains all of the generic actions mail processing script.  When I deploy my page contact form with appropriately updated code and linking using the include() function code and then provide a path to the file, it does not work.  The end result is that I get an email to my account that I put in place must be sent to me as an alert if there is a problem reading the include file.  I'll give you the coding for the include file and the feedback form page:

    Include a file code:

    <? PHP
    If (isset($_SERVER['SCRIPT_NAME']) & & strpos ($_SERVER ['SCRIPT_NAME'],))
    Inc.php')) "exit";
    Remove characters from exhaust AFTER table
    If (via PHP_VERSION < 6 & & get_magic_quotes_gpc()) {}
    function stripslashes_deep ($value) {}
    $value = is_array ($value)? array_map ('stripslashes_deep', $value): stripslashes ($value);
    return $value;
    }
    $_POST = array_map ('stripslashes_deep', $_POST);
    }
    Suppose that there is nothing suspicious
    $suspect = false;

    create a model to identify suspicious phrases
    $pattern = ' / content-Type. Bcc. Cc: / I ';

    function to check suspicious phrases
    function isSuspect ($val, $pattern and $suspect) {}
    If the variable is an array, loop through each element
    and pass it to the same function recursively
    If (is_array ($val)) {}
    {foreach ($val as $item)
    isSuspect ($item, $pattern, $suspect);
    }
    }
    else {}
    If one of the suspicious phrases is found, the Boolean true value
    If (preg_match ($pattern, $val)) {}
    $suspect = true;
    }
    }
    }

    Check the array $_POST and suspicious content subdashboards
    isSuspect ($_POST, $pattern, $suspect);
    If (! empty($_POST['url'])) {}
    $suspect = true;
    }
    If {($suspect)
    $mailSent = false;
    unset ($missing);
    } else {}
    treat the variables of $_POST
    foreach ($_POST as $key = > $value) {}
    assign a temporary variable and strip space if this isn't a table
    $temp = is_array ($value)? $value: trim ($value);
    so empty and if necessary, add to the $missing table
    If (empty ($temp) & & in_array ($key, $required)) {}
    return ($manquant, $key);
    } else if (in_array ($key, $expected)) {}
    Otherwise, assign to a variable of the same name as $key
    ${$key} = $temp;
    }
    }
    }

    validate email address
    If (! empty ($email)) {}
    Regex to identify illegal characters in the e-mail address
    $checkEmail = ' / ^ [^ @] + @[^ \s\r\n\'";,@%]+$/';]
    reject the e-mail address, if it does not
    If (! preg_match ($checkEmail, $email)) {}
    $suspect = true;
    $mailSent = false;
    unset ($missing);
    }
    }

    go forward only if all OK required fields
    If (! $suspect & & empty ($missing)) {}
    Initialize the variable $message
    $message = ";
    loop in the $expected table
    {foreach ($expected as $item)
    assign the value of the current item to $val
    If (isset(${$item}) & &! empty(${$item})) {}
    $val = ${$item};
    } else {}
    If she has no value, set "not chosen".
    $val = "not sΘlectionnΘe";
    }
    If a table, expand under chain comma-gap
    If (is_array ($val)) {}
    $val = implode (', ', $val);
    }
    Add the label and value to the message body
    $message. = ucfirst ($item). ' ': $val\r\n\r\n ";
    }

    the length of the line is limited to 70 characters
    $message = wordwrap ($message, 70);

    Create the Reply-To header
    If (! empty ($email)) {}
    $headers. = "\r\nReply-To: $email";
    }

    Send it
    $mailSent = mail ($ $subject, $message, $headers);
    If {($mailSent)
    $missing is more necessary if the email is sent, so unplugged it
    unset ($missing); ECHO ('please contact Solutions Web common wealth');
    }
    }
    ? >
    < ! 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 >
    < / body >
    < / html >

    Code of the feedback form page (with the code include line, note the path of the file that I used.  I do indeed follow the include file; process_mail. Inc.php in a folder include in the main public_html directory.  It should work.  "Maybe there is somethiing wrong with my code?) :

    <? PHP
    If (array_key_exists ('Send', $_POST)) {}
    mail processing script
        $to = ' [email protected] '; / / use your own e-mail address
    $subject = "contact form investigation."

    list fields should
    $expected is array ('name', 'email', 'phone', 'Comments');.
    Set required fields
    $required = array ('name', 'email', 'Comments');
    create an empty array for all the missing fields
    $missing = array();
    create additional headers
    $headers = "from: Caleb Wright < . " [email protected] > \r\n";
    $headers. = "content-Type: text/plain;" charset = utf-8\r\n ";
    $headers. = "cc: " [email protected] '; 
    If (! empty ($email)) {}
    $headers. = "\r\nReply-To: $email";
    }
    $process = '.. / includes/process_mail. Inc.php';
    If (file_exists ($process) & & is_readable ($process)) {}
    include ($process);
    } else {}
    $mailSent = false;
    mail ("$ ' server problem","$process cannot be read", $headers);
    }
    }
    ? >
    <! 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 >
    < name meta = "description" content = "" Common Wealth Web Solutions: Web development, Graphic Design, Media Consultant, Community Engagement "/ >"
    < name meta = "keywords" content = "' Common, wealth, Web, Design, graphic design, development, interactivity, services, fla sh, php, javascript, ajax, professional Solution, Caleb Wright, Peter Wallis, artist, video, multimedia, production, search engine optimization, SEO, video production design" / > "
    < meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"
    < title > Common Wealth Web Solutions: < /title > Contact form
    < link href = "stylesMain.css" rel = "stylesheet" type = "text/css" / > "
    <!-[if lt IE 7] >
    < link rel = "stylesheet" type = "text/css" href = "PNGfix.css" / > "
    <! [endif]-->
    <!-[if lte IE 7] >
    < style type = "text/css" >
    #hornav ul li {padding: 0 0 0 10px ;}}
    < / style >
    <! [endif]-->
    <!-[if lte IE 6] >
    < style type = "text/css" >
    #wrapper - body, #wrapper - 1, #wrapper-2, #wrapper - 3 {height: 1% ;}}
    < / style >
    <! [endif]-->
    < script type = "text/javascript" src = "scripts.js" > < / script >
    < script src = "Scripts/swfobject_modified.js" type = "text/javascript" > < / script > "
    < script src = "SpryAssets/SpryAccordion.js" type = "text/javascript" > < / script > "
    < style type = "text/css" >
    {#apDiv1}
    position: absolute;
    Width: 1844px;
    height: 43px;
    z-index: 1;
    left: 64px;
    top: 253px;
    }
    {body
    background-color: #FFF;
    }
    < / style >
    < link href = "SpryAssets/SpryAccordion_flexible.css" rel = "stylesheet" type = "text/css" / > "
    < style type = "text/css" >
    a: link {}
    Color: #00F;
    }
    < / style >
    < link href = "contact.css" rel = "stylesheet" type = "text/css" / > "
    < script type = "text/javascript" >

    var _gaq = _gaq. [];
    _gaq.push (['_setAccount ', 'UA-3119473-5']);
    _gaq.push (['_setDomainName ', 'none']);
    _gaq.push (["_setAllowLinker", true]);
    _gaq.push (['_trackPageview ']);

    (function() {}
    GA var = document.createElement ('script'); GA.type = ' text/javascript '; GA. Async = true;
    ga.src = ("https:" == document.location.protocol? ) https://SSL ' : ' http://www ( ') + «.google-analytics.com/ga.js ";
    var s = document.getElementsByTagName ('script') [0]; ParentNode.InsertBefore (ga, s);
    })();

    < /script >
    < script type = "text/javascript" >

    var _gaq = _gaq. [];
    _gaq.push (['_setAccount ', 'UA-3119473-6']);
    _gaq.push (['_setDomainName ', 'none']);
    _gaq.push (["_setAllowLinker", true]);
    _gaq.push (['_trackPageview ']);

    (function() {}
    GA var = document.createElement ('script'); GA.type = ' text/javascript '; GA. Async = true;
    ga.src = ("https:" == document.location.protocol? ) https://SSL ' : ' http://www ( ') + «.google-analytics.com/ga.js ";
    var s = document.getElementsByTagName ('script') [0]; ParentNode.InsertBefore (ga, s);
    })();

    < /script >
    < / head >
    < body >
    < div id = "wrapper" body >
    < div id = "wrapper-1" >
    < div id = "branding" >
    < h1 >
    < object classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width = "700" height = "250" id = 'FlashID' title = "Common Wealth banniΦre" > "
    < param name = "movie" value = "commonwealthbanner.swf" / > "
    < param name = "quality" value = "high" / >
    < param name = "wmode" value = "opaque" / >
    < param name = "swfversion' value ="6.0.65.0"/ >
    <!-this param tag prompts users with Flash Player 6.0 r65 or later to download the latest version of Flash Player. Delete it if you do not want users to display the prompt. ->
    < param name = "expressinstall" value = "Scripts/expressInstall.swf" / > "
    <!-next object tag is for non - IE browsers. Then he hide from IE using IECC. ->
    <!-[if! IE] >->
    < object type = "application/x-shockwave-flash" data = "commonwealthbanner.swf" width = "700" height = "250" > "
    <!-<! [endif]-->
    < param name = "quality" value = "high" / >
    < param name = "wmode" value = "opaque" / >
    < param name = "swfversion' value ="6.0.65.0"/ >
    < param name = "expressinstall" value = "Scripts/expressInstall.swf" / > "
    <!-the browser displays the following alternative content for users of Flash Player 6.0 and higher. ->
    < div >
    < h4 > the content of this page requires a newer version of Adobe Flash Player. < / h4 >
    " < p > < a href =" http://www.Adobe.com/go/getflashplayer_fr "> < img src = ' http://www.Adobe.com/images/shared/download_buttons/get_flash_player.gif "alt = 'Get Adobe Flash player' width = '112' height ="33"/ > < /a > < /p > "
    < / div >
    <!-[if! IE] >->
    < / object >
    <!-<! [endif]-->
    < / object >
    < / h1 >
    < div > < / div >
    < / div >
    < div id = "wrapper-2" >
    < div id = "top content" class = "png" > < / div >
    < div id = "wrapper-3" >
    < div id = "content-1" >
    < div class = "content wrap" >
    < div id = "Accordion1" class = "Accordion" tabindex = "0" >
    < div class = "AccordionPanel" >
    < div class = "AccordionPanelTab" > Site Navigation < / div >
    < div class = "AccordionPanelContent" > < a href = "index.php" > Mission < /a > < / div > ""
    < / div >
    < div class = "AccordionPanel" >
    < div class = "AccordionPanelTab" > Services < / div >
    < div class = "AccordionPanelContent" >
    < p > < a href = "Services_Web Design.php" title = "Home" > Web Design < /a > < /p >
    < p > < a href = 'Design.php of Production' video > video Production Design < /a > < /p >
    < p > < a href = "SEO.php ' > Search Engine Optimization < /a > < /p >" "
    < / div >
    < / div >
    < div class = "AccordionPanel" >
    < div class = "AccordionPanelTab" > about us < / div >
    < div class = "AccordionPanelContent" >
    < p > < a href = "AboutCaleb.php" > Caleb Wright < /a > < /p > ""
    < p > Coming Soon... < /p >
    < /P > < p > Peter Wallis
    < / div >
    < / div >
    < div class = "AccordionPanel" >
    < div class = "AccordionPanelTab" > Contact < / div >
    < div class = "AccordionPanelContent" >
    < p > < a href = "Contact Form.php" > form < /a > < /p >
    < / div >
    < / div >
    < / div >
    < p > < / p >
    < / div >
    < / div >
    < div id = "content-2" >
    < div class = "content wrap" >
    Contact us < h1 > < / h1 >
    <? PHP
    If ($_POST & & isset ($missing) & &! empty ($missing)) {}
    ? >
    < class p = 'WARNING' > please fill in the missing elements indicated. < /p >
    <? PHP
    } else if ($_POST & &! $mailSent) {}
    ? >
    < p > < strong > your message has been sent. Thanks for choosing Web Solutions common wealth.
    < facilities > < / p >
    <? PHP}? >
    < p > < / p >
    < form action = "<?" PHP echo $_SERVER ['PHP_SELF'];? ">" method = "post" name = 'Contact us' class = "content-wrap" id = "contact us" >
    < fieldset > < class legend = "AccordionPanelContent" > contact information < / legend > < p >
    < label for = "name" > < span class = "fieldname" > name: </span >
    <? PHP
    If (isset ($missing) & & in_array ('name', $missing)) {? >}
    < span class = "WARNING" > please enter your name < span > <? PHP}? >
    < / label >
    < label for = "name" > < / label >
    < span id = "sprytextfield1" >
    < input name = "name" type = "text" class = "textInput" id = 'name '.
    <? PHP if (isset ($missing)) {}
    "' echo ' value =" ".htmlentities ($_POST ['name'], ENT_COMPAT, ' UTF - 8' UTF - 8') .e. '" ';
    } ? >
    / >
    </span > < / p >
    < class p 'fieldname' = >
    < label for = "email" > Email:? PHP
    If (isset ($missing) & & in_array ('email', $missing)) {? >}
    < span class = "WARNING" > enter your e-mail < span > <? PHP}? >
    < / label >
    < input name = "email" type = "text" class = "textInput" id = "email".
    <? PHP if (isset ($missing)) {}
    "' echo ' value =" ".htmlentities ($_POST ['email'], ENT_COMPAT, ' UTF - 8' UTF - 8') .e. '" ';
    } ? >
    / >
    < /p >
    < p >
    < label class "phone" = "fieldname" = > phone: < br / >
    < / label >

    < input name = "phone" type = "text" class = "textInput" id = "phone".
    <? PHP if (isset ($missing)) {}
    "' echo ' value =" ".htmlentities ($_POST ['Telephone'], ENT_COMPAT, ' UTF - 8' UTF - 8') .e. '" ';
    } ? >
    / >
    < /p >
    < / fieldset >
    < p > < / p >
    < fieldset >
    < class = "AccordionPanelContent" legend > how can we help you? < / legend >
    < label for 'Comments' = > < br / >
    <? PHP
    If (isset ($missing) & & in_array ('Comments', $missing)) {? >}
    Please enter your feedback < span > <? PHP}? >
    < / label >
    < = 'comments' id = cols 'comments' textarea name = "100" rows = "5" > <? PHP
    If (isset ($missing)) {}
    echo htmlentities ($_POST ['comment'] ", ENT_COMPAT, ' UTF-8 ');
    } ? > < / textarea >
    < /p >

    < p >
    < input type = "submit" name = "send" id = "send" value = "Send comments" / >
    < /p >
    < id p = "website" >
    website < label = 'url' >: < / label >
    < /p >
    < / make >
    < / div >
    < / div >
    < div id = "content-bottom" > < / div >
    < / div >
    < div id = "footer" >
    < p > < strong > common wealth Web Solutions < facilities >
    < script type = "text/javascript" >
    <!--
    applesearch.init ();
    ->
    < /script > < strong > © 2011 < facilities > < / p >
    < / div >
    < / div >
    < / div >
    < / div >
    < script type = "text/javascript" >
    var Accordion1 = new Spry.Widget.Accordion ("Accordion1", {useFixedPanelHeights: false, defaultPanel:-1});
    < /script >
    < / body >
    < / html >

    The code immediately preceding is the code with php feedback form page.

    Since your email is a failure I will assume the rest of your script works.  I'm looking specifically at these lines:

      $process = '../includes/process_mail.inc.php';
        if (file_exists($process) && is_readable($process)) {
            include($process);
    

    Things that must be confirmed here are that the path is right and it has the appropriate permissions.  Have you tried to delete this statement 'and' in your 'if' and see if those who operate independently.  I have a feeling that if the path is right that the file does not have the appropriate permissions on your server for access global read which would, "is_readable" fail and thus put an end to your script.

    Can you test those and after return?

  • Problem of layout in the mainContent - PHP include file section

    Hi people, I have a problem with the layout of a page.

    I have included a PHP statement in the mainContent div that appears near the bottom end of the page here:

    http://zazzlefan.com/index2.php

    How can I get this content to keep just below "Featured Sellers - Al Rio Art"?

    My CSS file is a slightly twisted dreamweaver template

    http://zazzlefan.com/twoColFixLtHdr.CSS

    and there is a "zstore.css" file that controls the PHP include here:

    http://zazzlefan.com/CSS/zstore.CSS

    Can anyone help? Thanks in advance if you can.

    Terry

    {.centerGrids}
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    }
    Who do it for you?
    Martin
  • Styles CSS and SSI

    I have a file which includes another file using PHP XHTML. When I opened the file parent I see all links to external scripts, css styles and xhtml included all the files. The CSS panel works. I select an include file and do not click on a style element, the css Panel tells me that none of the css rules applied. This is false.

    There are styles that are applied. And I know that Dreamweaver knows the recorded files because he provided all the links to select. But somehow Dreamweaver don't forget that the styles to apply to the included file are found and referenced in the parent file.

    How can I see styles applied in the Panel CSS from an include file. If I can't do the Panel CSS only works for the parent files but not for the included content files. that would be pretty useless.

    Caspar,

    The problem is that SSI may be included in multiple parent files,
    and each parent file may apply a different set of style sheets, or not
    stylesheets at all.

    HTH,
    Randy

    > Do you have why I must set a such style sheet and Dreamweaver does not reach
    > automatically recognizes style sheets linked in the document of a parent
    > include file?

  • PHP includes - Simple Txt file

    I've been playing with using PHP includes / need to fill the content of a page. It would be very useful for all the pages where the content changes often, or eternal sources since I could download the txt files with the same name in a folder and replace existing ones.

    In my tests of this problem is that the text gets spread in the content area a single huge block with no paragraph separations. The original txt file has several separate paragraphs, but it's not the output in design mode or the browser. I checked my CSS as well as for the main content area and are all that I put my padding and styles of police, margins.

    Does anyone know if there is anything else I should do to solve this problem by using CSS or PHP?

    Thank you.

    Try surrounding the call include with a div and give the div of this class.
    Without seeing the page, it is difficult to say, but I suspect the

    class is
    "cancellation" with the first

    tag in the include file.

    destind4film wrote:
    > ok, well the include file is just a txt. But the CSS I am
    > trying to apply is called in the tags p surrounding php
    > statement... If that makes sense...
    >
    > In any case... include does not apply CSS style that he
    > should. This is evident by looking at the page in design mode or in
    > the browser...
    >
    > what is clarify?

  • CSS and TaskFlow problem

    Hello

    I have problem with styling my application files using custom css and taskflow, I find these two could not work together.

    Take a look at my file feature.xml - MAF:

    MAF.jpg

    As you see it is a unique feature that is named "test" with two pages of amx, called "untitled1.amx" id "lymphocytotoxicite.1" and "untitled2.amx" with the id "test.2", each of them includes css file in resources/css/and there are named taskflow "ViewController-task - flow.xml ' with the id"test.3"they (amx and taskflow files) located in the feature file, as you can see on the tab Applications in JDeveloper.

    So lets talk about my problem, there are two situations buggy:

    1. When the workflow is listed first in the list of the contents of the feature. Navigation between the pages of result: working, but there is no style of css files.
    2. When the workflow is listed in any other place than the first. Result: style of css files is present, but the navigation doesn't work.

    I found workaround using Word to Word and insert the style custom, but it is slow and not acceptable.

    I have also deployed on several other machines:

    • Dell Precision T1700, Windows 7
    • Dell Precision T1700, Ubuntu 14.04 (mine)
    • MacBook Pro, Mac OS x 10.11

    And the result is the same.

    I also uploaded my project on gdrive.

    Thanks in advance.

    Greetings,

    Boris

    Hello

    looked at the sample and indeed the problem comes from your configuration. You have defined 3 content for a unique feature of MAF. A function can only show unique content at a time. To determine the content to show you want to use constraints for the defined for content. A usecase for this is where you want to optimize the user interface, for example when rendering on a smartphone differently than when it is rendered on a tablet. The content that is on top is content that is displayed if there is no defined constraints which would decide on the others. So if you have a task flow on top then the other views are not visible. And for the workflow you do not set the CSS to use (which explains why the page doesn't display colored). When a page is displayed at the top, then navigation is controlled by the adfc-mobile - config.xml, which, in your test case is empty so that no navigation can occur.

    Frank

  • PHP includes

    Hi all

    Can I have asked this question before but I'm still a little confused about PHP includes. I have created a few pages using Dreamweaver Bootstrap. My main NAVIGATION bar was created in an index.html file, but I see that things get complicated if I have to take the NAVIGATION code bar and add it to all the pages. So someone said using PHP include ( <? php include ("name.php");? > ), but the only downfall I see I is .index all pages NEED to be changed to .php. So now that I have met some problems and questions:

    QUESTIONS

    #1. Is there another option you are using PHP includes to have 1 master NAVBAR, that when I change the main NAVIGATION bar, it changes on all pages?

    #2. After you have configured the my site definition with my .php files, I made changes to one of my pages then Dreamweaver prompt me to save. Even if it changes 1 letter. Why does do that? Ideally, I would like to make a few changes before saving the file. Any idea what the problem might be?

    Thanks in advance.

    iangoulbourne wrote:

    QUESTIONS

    #1. Is there another option you are using PHP includes to have 1 master NAVBAR, that when I change the main NAVIGATION bar, it changes on all pages?

    You can still use jQuery to load the navigation. The load below a file named 'navigation.html' in a

    container with the class 'navigation '.

  • How can I say that Dreamweaver folder is the PHP include path?

    My include path on my server is/php/includes.  He is not outside the web root or something like that, it's just convenient to have this folder to store all my common php extracts of I include or require a lot.

    So if I have an include or require the line as 'require 'db.php';' the server knows where to find db.php, Dreamweaver knows that it is a media file, so it adds it at the top of the code for easy access.

    However, in DW CC (2015) it will not wear this file because it is not because he is looking for the file in the directory root, and not in/php/includes.

    So my question is how can I tell Dreamweaver/php/includes is the include path so it will open these related files when I click on them and not forcing me to open the files individually, if I need to watch them or change them?  It's a HUGE pain in the butt when you have a dozen different includes that are all associated with the page you are editing and you must open each individually if you want to watch or change something.  Also, if I move this file in a different directory, Dreamweaver wants to change the relative path where to move, and I want to keep it exactly how it is.

    BTW, of course, I could just include the full path in the code of the page, but why should I?  The server will look in those include paths anyway, why I can not Dreamweaver to look the same on the local side?

    I found a solution, a bit clumsy but better that open them separately.

    By activating dynamically files automatically, when I open a page with includes I get two sets of files included in the related files bar.  The second game is the local version with the right path, the first is the link to the file using the root path (which does not exist of course).  So if I click on the second version of the related file, I can switch to that file and manipulated like any other related file.

    Thanks for the comments, I appreciate the insight.

Maybe you are looking for

  • Why is my iphone 6 so slow performance after updating ios 9.3.4?

    After the 9.3.4 software update, my iphone 6 is really slow. I find it really difficult to get applications like safari and youtube to work and after a few days ago, they hardly work. Ive seen other people on this issue and I was wondering if anyone

  • IPhone does not connect to the WIFI in the House when not near router

    This is a recent as problem it used to work fine. My iphone connects to the WIFI in my house when I'm in the same room as the router but won't connect to nowhere elsewhere in the House. Any other apple device I have works fine, so this would suggest

  • I can't get two cards USB worked at the same time

    I use Labivew 8.6 to program an application using NI UBB-9211 and USB-6211 connection to two USB ports on my PC in order to measure the temperature and pressure (voltage) at the same time. Also, I need to generate two AOs of USB-6211 to drive my engi

  • BlackBerry smartphones can not send e-mail

    I can't send the email from my Bold 9870 but someone sent me an email and I was able to answer.Whenever I have email, it displays a red X in the mail

  • Text box cannot be moved or resized 0.0

    Working on a book inside, I lost the text boxes on one of the spreads. In other words, they are not lost as many real estate and unresizable.I can see their content in the editor mode, and they can be selected in the layers palette.My pages are 7 x 1