View PHP Files in Expressions 4

I downloaded PHP 5.5.8 and have been unable to view a PHP file in Expression Web 4. The Microsoft server open and all I get is a blank screen. I have opened the Site from the Site Menu, I setup the PHP.ini file as shown in the PHP.ini production file. I
as unable to find a cg-php.exe file in the php download but I did find on online. The PHP.ini and cgi-php.exe are in the same directory as all of the web files. When I download the files to my website and run them they work fine. Can anyone give me some direction
on how to make this work?

Hi Jeff,
If you are still interested to set up PHP, I had the similar to yourself and succeeded.  Basically, ignore the zip folder options and download the msi installer and make sure to install 'other web server' when given the option.
MSI INSTALLER
Following advice on here (thanks to Kathy, https://social.msdn.microsoft.com/Forums/expression/en-US/5ef17622-9147-4264-aee4-a40ed310a417/install-php?forum=web), I downloaded the installation
file from  http://windows.php.net/download/, file: php-5.3.29-nts-Win32-VC9-x86.msi.  I then executed that file and installed it to C:\Programs\PHP\php5.3.29\
An important note, when installing the msi it asked me which web server I wanted to set up.  Either  IIS Fast CGI or Other CGI.  I chose the former, but the message said FASTCGI is not installed on the current version,  so I chose 'other'.
This is clearly the important step to ensure the php-cgi.exe file is installed correctly.
I then launched EW and opened the index.php file and clicked F12 to preview it.  You should see the following alert:
| Select a valid version of PHP in the Application Options dialog.
| Application options | More Info
| OK
Go to Tools > Application Options > General Tab and that is where you can browse to 'Path to PHP executible file for previewing PHP pages', which is the php-cgi.exe you have just installed.
Your testing server should be set up.
Good luck.
Andy

Similar Messages

  • New to Dreamweaver. Can I open/ view .php files with this application?

    Recently downloaded a file that had the extension; .php. Tried opening it on my desktop and couldn't. Was told the Dreamweaver software/ application from adobe could help. Please, educate me on what to do in order to view these files.

    PHP files are all code.  You need a local testing server to view PHP files locally in your browser.   Dreamweaver can help you view the code, but you still need a local testing server to preview it.
    Get one of these testing servers for you OS and install it.
    WAMP for Windows
    http://www.wampserver.com/en/
    XAMPP for Windows
    http://www.apachefriends.org/en/xampp-windows.html
    XAMPP for Mac
    http://www.apachefriends.org/en/xampp-macosx.html
    MAMP for Mac
    http://www.mamp.info/en/downloads/index.html
    Setting up a PHP environment in Dreamweaver
    http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html
    Nancy O.

  • Unable to view php files in Design View?

    Need help! I cannot select design view when working with a PHP document, the DesignView option is disabled?
    My information.
    -          Dreamweaver CS5
    -          Mac OSX 10.6 snow Lepoard
    I have searched online and I also went through the FAQ but couldn’t find anything relating to this particular issue and my Professor at school said that I need to contact Adobe directly as design view should always be available but all that I would see in Design View are the HTML elements within the PHP file.
    The Design View button is disabled, I can not click on it all and so for my class assignments. I have to copy the PHP code into a new HTML document and only then am I able to view the html/php and edit the HTML elements, and then copy and paste it back into the PHP file once I have the html elements/design set up correctly.
    I did a similar “Set up PHP for Mac OS X – MAMP” to the version available here, could I have set this up incorrectly and that is why Design View is disabled?
    Thanks I appreciate your guys expertise and any help!

    Kanjan wrote:
    Need help! I cannot select design view when working with a PHP document, the DesignView option is disabled?
    Go to Dreamweaver > Preferences, and select File Types / Editors from the Category list on the left. Make sure that .php is NOT listed among the filename extensions in "Open in code view".
    Adding a filename extension to that list prevents files from being opened in Design view.

  • Unable to view PHP files

    I am using Dreamweaver MX version 7.0. I have several PHP
    files that I am unable to see the text contained in the files. I
    have a friend that is able to view them just fine in Dreamweaver
    8.0. Funny thing is that one PHP page that I opened was entirely
    visible, but the other files I have a problem with. I can see some
    graphics, not all, and the PHP code that calls a menu system, and
    the menu graphics,althought they are not positioned as they should
    be. But no text on the page. Any help would be greatly appreciated.
    Ted

    Steve,
    Thanks for your help. Here is the only code that I see in
    Code View:
    <?php echo "<?xml version=\"1.0\"
    encoding=\"iso-8859-1\"?".">"; ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <title>KOBA Services</title>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <link href="styles.css" rel="stylesheet" type="text/css"
    />
    <script language="JavaScript" type="text/JavaScript"
    src="etc/rollover.js"></script>
    </head>
    <body
    onload="MM_preloadImages('images/navi/aboutus_roll.gif','images/navi/services_roll.gif',' images/navi/faq_roll.gif','images/navi/help_roll.gif','images/navi/contact_roll.gif')">
    <span class="leftMenu">
    <img src="images/bits/koba_logo.gif" width="146"
    height="127" border="0" usemap="#Map" class="homeLink" />
    <?PHP include_once('etc/leftnav.php'); ?>
    Ted

  • How can i view php files in english

    I have some files saved in godaddy that are in code. I cant read code. But i can read english. My developer screwed me. I dropped my external hard drive and can view my files. Does anyone know how?

    You are welcome. Ajmeet -
    Are you on a MAC or a Windows computer.?
    Can you copy or tranfer the files from GoDaddy to a folder on your personal computer?
    On your computer, any file can be viewed.
    PHP code is plain text and can be read in any text editor like Notepad or Textpad.
    In Dreamweaver they can be read in Code View.
    HTML code can be viewed in any browser
    In Dreamweaver they can be read in all views.
    Image files like JPG GIF PNG can be displayed in your browser or in any graphics program like Photoshop or Fireworks.

  • How Do You View PHP Files on Your Own Computer?

    Hi everyone, I am working with PHP galleries, but have to upload the file to my website every time I want to look at it. This is very annoying if you want to view the images on your own computer! What is the best way of viewing and testing the files on your own computer?
    If it matters I am using a Mac and have Safari and Firefox. I googled this and the results were very confusing! Thanks for your help.

    When XAMPP is open if you go to Status (on the left) it says this …
    MySQL database
    DEACTIVATED
    PHP
    ACTIVATED
    Perl
    ACTIVATED
    Common Gateway Interface (CGI)
    ACTIVATED
    Server Side Includes (SSI)
    ACTIVATED
    PHP extension »OPcache«
    DEACTIVATED
    see FAQ
    PHP extension »OCI8/Oracle«
    DEACTIVATED
    see FAQ
    I don't know if that's good or bad!

  • Display of PHP files in Dreamweaver

    After updating to Dreamweaver 8.0.2, I'm finding that I can't
    view php files in either the Split or Design modes. It will only
    appear in the code mode and won't let me select a browser to
    display either.
    Any suggestions?

    Open Preferences (Edit > Preferences) and switch to the
    File
    Types/Editors category. Make sure that .php (or whatever file
    extension
    you are using for your files) is *not* specified in the "open
    in code
    view" field.
    The name of this field should be "open only in code view".
    HTH,
    Randy
    > After updating to Dreamweaver 8.0.2, I'm finding that I
    can't view php files in
    > either the Split or Design modes. It will only appear in
    the code mode and
    > won't let me select a browser to display either.

  • Can't view Wordpress PHP files in Dreamweaver CC.

    Mac. MAMP.
    I have downloaded my full site hosted on xxxx into MAMP htdocs.
    Download directly from root public_html on host.
    I keep getting "Dynamically-related files could not be resolved because the site definition is not correct for this server"
    Even if I go "live view" and set - Web URL to: www.indochinaexplorers.com (my site) - instead of http://localhost, it comes up with a lot of PHP boxes.
    Been through all tutorials for more than a week.
    Have been through all possible settings and configurations under "Manage Site"
    Did a Test - New PHP page. Same thing, it does not show, design or live view.
    So stuck,
    Thanks Peter

    I have the same issue and none of the alleged Guru's that answered have provided anything useful.  Solid Web Design is about workflow, which could lead to innovation if people would stop reverse innovation language...Dreamweaver could be a viable wordpress solution if it worked as it's supposed to. CC is a bust as the focus has shifted to mobile first. 
    There are no "real pages" for you to edit in DW; just code fragments.
    Wordpress is dynamically driven but this is untrue.  Every PHP file in a theme has structure and is a "real page".  Fragments have to be in a "file" to be called, they are not called out of thin air.  If I want to style page.php, it cannot be done without first adding selectors.  #mainContent for example. The only thing php does is add dynamic functionality.  Page.php can be altered and saved as Page_fullwidth.php, Page_Music.php ,Page_webDesign.php and they can all have a different layout in the same theme.  Else there would be no templates to choose from in the static page section of the WP Admin area. 
    Themes drive the appearance and functionality of your WP site.  If you need a new look, find a different Theme and install it from your WP Dashboard.
    How does this help?
    Unless you are very familiar with PHP code and more specifically the PHP code WP uses, you will not have good results working in DW.   You really must use the WP Dashboard to manage your content, Themes, and plugins.
    This has nothing to do with the issue.  The issue is Dreamweaver simply does not allow propper editing of wordpress sites in a dynamic environment.  No one ever said they didn't know anything about php, creating wordpress themes, plugins, and so on...
    Dear next genius..Since the question has already been asked, I won't ask it again, but the original inquiry is my issue as well.  If you have figured out how to make this work, please respond, if not, please don't.
    Mac

  • Design view in php files

    can`t understand why, but, when I open php file which
    contains some html formatting or not, (e.g. in *.html.php files of
    CMS Joomla/Mambo) design view in DW-8 is inactive. When I rename
    file to .html extension and open it then, design view is active and
    I can work in WYSIWYG mode, but in previous versions everything has
    been OK.
    I was not need to rename files each time.
    Is there solution or newest version of DW can not work in
    design view with files exept of html extension?

    Thanks for the tips but... design view won't open at all,
    there's no errors or anything like that, it just -wont open-. It
    wont let me click "design view", it just remains stuck in code
    view, but it allowed me to view design view last week.
    quote:
    Originally posted by:
    Newsgroup User
    the "WVA - News" appears to be the include- and is a complete
    html document
    instead of just what is correct for where it's inserted.
    rough fix-
    suggest using an external stylesheet for the site, so you
    don't need to have
    each style in the head section. This will also reduce the
    number of styles
    and keep them consistent.
    edit the WVA - News file. Select just after the <body>
    tag and erase to top
    of file. Erase </body> and </html> at the end of
    file.
    (tip- attach a "design time" stylesheet to the included file
    to see and
    select the styles of the new external css file)
    or- brute force fix if don't care about syntax- go into dw
    preferences/invisible items and turn off rendering of
    included files. That
    doesn't fix the problem, just prevents the errors from
    confusing design
    view.
    > Are you using includes or scripted includes?
    >
    > there are several pairs of <body> tags, which will
    totally confuse dw design
    > view.
    >
    >> Ah, they're .php - here's the site so far if it
    helps at all:
    >>
    >>
    http://www.walsallva.org.uk/NEWSITE/index.php
    >>
    >> This worked fine in design view last week, but
    doesn't this week. =(
    >

  • .php files won't show up in design view?

    Hi there,
    I'm a pretty experienced dreamweaver user, using for 3 years,
    but this is baffling me. I've been using PHP includes for my
    content for years, but all of a sudden when I covert my .html files
    to .php files I cannot view in design view, only code view?
    Now, if I convert them back to .html it works just fine...
    Anyone know how to fix this? Here's a screenshot btw:
    http://img138.imageshack.us/img138/3814/untitled1vv4.jpg

    quote:
    Originally posted by:
    Newsgroup User
    encore2k7 wrote:
    > Hi there,
    >
    > I'm a pretty experienced dreamweaver user, using for 3
    years, but this is
    > baffling me. I've been using PHP includes for my content
    for years, but all of
    > a sudden when I covert my .html files to .php files I
    cannot view in design
    > view, only code view?
    >
    > Now, if I convert them back to .html it works just
    fine... Anyone know how to
    > fix this? Here's a screenshot btw:
    >
    >
    http://img138.imageshack.us/img138/3814/untitled1vv4.jpg
    >
    Not a good answer, and no explanation:
    I have noticed this too. But if you create a brand new doc
    and select
    the php option in the window that asks which kind you want,
    then copy
    and paste the essential code into it, it'll work. Probably
    completely
    wrong, but it's as if DW "remember" a file a html once that's
    the file
    you selected, regardless of which extension you eventually
    give it....
    something like that...
    That won't work either, if I click new .php file it still
    wont let me view it in design view..

  • How to view local PHP files with my browser?

    I want to learn PHP and be able to view files I create (stored in my documents folder) by my browser. I read I'd have to get into Apache via Terminal and make some changes to be able to view PHP. I took a look inside and ran across warning comments, which scared me off!
    Any suggestions?

    Pretty simple, ther arew no "warnings" to consider. Depending on your version of Apache you may need to enable the  PHP  module in the configuration file at
    /private/etc/httpd/httpd.conf
    Look for the part where it says
    #LoadModule  php 4_module
    and also
    #AddModule mod_ php 4.c
    and make sure those lines are uncommented by deleting the "#" character, then restart Apache to activate the new settings . When you acces a PHP page, you must do it through Apache by clicking this URL: http://127.0.0.1/ Remember that HTML files can be dropped in a browser, but to run a PHP script file you must use an Apache URL.
    Read more about Apache here:
    http://Gnarlodious.com/Computer/Apache

  • Dreamweaver 6- installed AppServ to read CMS website (php files)

    Hi there,
    I have installed AppServ as my local testing server as I wish to read a website that was built as a CMS (bespoked site), the site has downloaded into my local site folder:
    C:\Documents and Settings\Ian\My Documents\Websites\GB Forklifts Test Site\httpdocs\
    I have then set-up the site:
    1. Servers: localhost    under Testing
    Server Folder: C:\Documents and Settings\Ian\My Documents\Websites\Local Server\AppServ\www\GB  Forklifts Test Site\
    Web URL:  http://localhost/GB Forklifts Test Site/
    Testing Server: Server Model: PHP MySQL
    When I click on the index.php file on the testing server (and also attempted on the Local site folder), the page comes up, I then get asked to click Discover, which I do then the Script waring comes up i.e You must discover dynamically-related files in orde to list them int he Related Files toolbar etc  I click Yes and the following message is displayed :-
    Dynamically-related files could not be resoved because the site definition is not correct for ther server, Retry / Setup.  I clicked on Retry, which wasn't successful so pressed Setup and it reverts back to the Site set-up as in 1. above.  Please can anyone help, many thanks
    I click on Live view the following msg appears from the test server:-
    Not Found
    The requested URL /GB Forklifts Test Site/TMP2bqrfi.php was not found on this server.
    Apache/2.2.4 (Win32) PHP/5.2.3 Server at localhost Port 80
    and the following msg via Liver view appears from the Local  Site Folder:
    Not Found
    The requested URL /GB Forklifts Test Site/httpdocs/TMP1jdoyhk.php was not found on this server.
    Apache/2.2.4 (Win32) PHP/5.2.3 Server at localhost Port 80

    Firstly, to be clear,  this is obviously not a dreamweaver issue but probably something in the apache configuration. To research this, I would try the following:
    Convert the includes to "require" to see if errors appear. Make sure error display is active
    Create a simple PHP page that has no includes and try it.
    Try in at least Firefox and Chrome.
    Check the paths in vhosts.conf (did the paths need to change change from one version of XAMPP to another)
    Is apache listening to port 80 alone? (Listen 80) and are the virtualhosts set up for *:80?
    Is LoadModule vhost_alias_module modules/mod_vhost_alias.so uncommented in httpd.conf

  • After upgrading to FF 3.6.12 I can no longer view PHP pages from my hard drive.

    After upgrading to version 3.6.12 I can no longer open PHP web pages from my hard drive. When I create or edit web pages I view them from my hard drive first before uploading, as many webmasters do to look for errors before taking them live.
    I can view PHP pages online, but from my hard drive it just spawns endless empty tabs. Instead of just opening the page it asked me what to open it with, thinking the PHP web page is a script.
    It was working fine before the upgrade. I had a page open that I wanted to edit, which it reopened when my browser restarted.
    Then I edited the page. All I did was add a link to it. Then I hit the refresh button to see the change and instead of reloading the page, FF asked me what to do with the PHP script, prompting me to save it or choose what program to open it with.
    I selected to view it with FF and it just spawned endless tabs. They wouldn't stop. Had to shut down FF and it probably had 40 tabs opened with nothing on them. I tried other PHP pages from my hard drive that opened fine before, but it did the same thing with them.
    I tried finding help online and I see others have had the same problem, but no solution was offered that worked. I tried rebooting, same story, it wants to know what to do with the PHP script.
    I'm being forced to use another browser, so I'm going to go download Chrome now. If this probably isn't fixed soon I'll simply give up on FF. It's not worth the aggravation. I can't tell you how much TIME I've wasted today -- HOURS.
    Very disappointed.

    Thanks for the reply. It doesn't have to process the php, it just has to show the HTML content. It did that just fine before the last upgrade but won't now.
    I've seen that page you referenced: http://kb.mozillazine.org/File_types_and_download_actions.
    It doesn't help. The things it says to look for aren't there for me, specifically:
    browser.download.pluginOverrideTypes
    plugin.disable_full_page_plugin_for_types
    I followed the rest of the instructions but it didn't help.
    I did get it to quit opening tabs, instead it prompts me what it should do with the file every time now. What it should do, and used to do, is open the php page and display the HTML content.
    Any other ideas?

  • Firefox keeps asking me to open/download PHP file when it used to be able to display properly.

    I use to be able to view local PHP files normally in Firefox with the PHP parts not rendered while the HTML parts are. Now all it does is ask whether I want to open or save it.
    I've tried editing FF options so that it previews in FF but it doesn't accept any changes. I've cleared my cache and all that. I've tried deleting the mimeTypes.rdf file thing but I can't even find the folder it's in. I've tried disabling/enabling "prompts.tab_modal.enabled" in about:config and restarting FF.
    All are no-go solutions.
    Web PHP pages are loading properly, this problem only comes when I'm trying to load local PHP files. I don't want to install XAMPP or PHP on my computer just to view local files as I never had this problem before.
    In the meantime, I've installed Chrome and it's loading a simple local PHP file just fine whereas FF is asking me to save/download when opening the SAME file. Thanks in advance for any help.

    Yup, deleting mimeTypes.rdf and re-starting did the trick this time. Thanks very much!
    Also, on a somewhat related note, I cannot view mozillazine.org and any sub-domains under it in any browsers. This may be happening to other users as well?
    It's always stuck at "Waiting for ..." or "Connecting to ..." and that's it. Then FF gives up with a "Server connection time-out" notice. Clearing cache and all that doesn't work because I was trying to view those pages before starting this topic.

  • Contact Form: How do i create a link from an XML file to another domain to read a PHP File

    So i purchased a template from Template Monster and im having a little trouble with the contact form. The server that im uploading it to is a privite server that the company owns. It supports ASP and not PHP. I cant seem to get the ASP form to work so all i want to do it create a link to another one of there servers that supports PHP and have the contact form link to there and read the PHP file (that i will upload to that server) and send the email from there.
    This is the XML that i have to fill in in order to make it work
    Everything in Red is what i needed to fill out in order for the form to work.
    <?xml version="1.0" encoding="utf-8"?>
    <!--
            Please read this information to learn how to set up the contact form integrated
            into the template.
            This readme file explains in details the meaning of the settings that can be
            done in the fcContactFormConfiguration.xml configuration file.
            It is recommended for you to use an XML editor to make changes to this file
             because it’s less possible to make an error in the markup which can cause to
            a not working contact form.
      -->
    <contactFormConfiguration>
        <!--
                An e-mail address which will be used to receive messages from your contact form.
                You can specify several e-mail addresses separating them with a comma.
                For example: [email protected], [email protected], [email protected]
          -->
        <emailTo>[email protected]</emailTo>
        <!--
                A server script type which will process sending e-mails. It depends on your
                hosting and in the current version of the contact form it is allowed to use
                two types:  php (Apache, PHP Hosting); asp (IIS web server, ASP).
          -->
        <serverProcessorType>php</serverProcessorType>
        <!--
                A name of the script file which process sending e-mails on your server (without
                extension). The name contact is used by default.
          -->
        <serverProcessorFileName>contact</serverProcessorFileName>
        <!--
                Set whether to validate only required fields (true/false).  The default value is
                true which means the not required fields of your contact form will not be validated.
                For example if the e-mail field of your form is set as not required (imagine it)
                the form will be processed even if the user types in an incorrect e-mail address.
          -->
        <validateRequiredOnly>false</validateRequiredOnly>
        <!--
                Set whether to submit the form when the Enter key is pressed even if the focus is
                not on the Submit button (true/false).
          -->
        <submitFormOnEnter>false</submitFormOnEnter>
        <!--
                Text showing to the user when the form is submitted without any errors.
          -->
        <messageSentText>Thank you for your message.</messageSentText>
        <!--
                Text showing in case the form is not submitted because of a server error.
          -->
        <messageSentFailedText>Sorry, your message couldn't be sent</messageSentFailedText>
        <!--
                Text your visitor will see while waiting till the processing is over.
          -->
        <formProcessingText>processing...</formProcessingText>
        <!--
                Your SMTP server (for ASP only).
          -->
        <smtpServer>localhost</smtpServer>
        <!--
                Your SMTP port (for ASP only).
          -->
        <smtpPort>25</smtpPort>
        <!--
                Set whether to send the message as a plain text (true) or as HTML (false).
          -->
        <plainText>false</plainText>
        <!--
                ID of the input field (in the structure XML file) to use for the “from: ”
                or email to use instead (for example: [email protected]).
          -->
        <emailFromSource>2</emailFromSource>
        <!--
                Subject of the e-mails that will be sent through this contact form or ID of
                the input field (in the structure XML file) to use for the “subject: ” label
                in your e-mail client.
          -->
        <subjectSource>Contact Form from your site</subjectSource>
        <!--
                Validation error messages that are showing to the user when the form fails to
                validate. The form supports different types of validators. You can change the
                text of the error messages the validators produce here.
                You can use the {LABEL} keyword in these messages. It will replace it with the
                label value of the field where an error occurs.
          -->
        <validationErrorMessages>
            <!--
                    A required field is not filled in.
              -->
            <message type="fieldIsRequired">{LABEL} is required.</message>
            <!--   
                    The specified e-mail address is incorrect.
              -->
            <message type="emailNotValid">{LABEL} - is not valid email address.</message>
            <!--
                    The specified number of characters in a field is less than a required minimum.
              -->
            <message type="minCharsLimitError">{LABEL} - The specified number of characters in a field is less than a required minimum.</message>
            <!--
                    The specified string does not match with the regular expression.
              -->
            <message type="reqExpError">{LABEL} - The specified string does not match with the regular expression.</message>
            <!--
                    The specified number is greater than an acceptable biggest number for this field.
              -->
            <message type="biggerThanMaxError">{LABEL} - The specified number is greater than an acceptable biggest number for this field.</message>
            <!--
                    The specified number is lower than an acceptable lowest number for this field.
              -->
            <message type="lowerThanMinError">{LABEL} - The specified number is lower than an acceptable lowest number for this field.</message>
            <!--
                    The data is not a number.
              -->
            <message type="notANumberError">{LABEL} - The data is not a number.</message>
            <!--
                    The specified number must not be negative.
              -->
            <message type="negativeError">{LABEL} - The specified number must not be negative.</message>
            <!--
                    The minimum number of variants is not selected
              -->
            <message type="minRequirementError">{LABEL} - The minimum number of variants is not selected</message>
            <!--
                    The number of variants selected exceeds the maximum
              -->
            <message type="maxRequirementError">{LABEL} - The number of variants selected exceeds the maximum</message>
            <!--
                    The fields that should be equal do not match
              -->
            <message type="shouldBeEqualError">{LABEL} - values do not match</message>
            <!--
                     The date has wrong format.
              -->
            <message type="dateIsNotValidError">{LABEL} - date has wrong format</message>
        </validationErrorMessages>
    </contactFormConfiguration>
    THIS IS THE ACTUAL CONTACT.PHP Form That i would like to link to.
    <?php
    //-----------------Getting data sent by flash---------------------
    foreach ($_POST as $key => $value){
            if ($key != 'mail_to' && $key != 'smtp_server' && $key != 'smtp_port' && $key != 'mail_from' && $key != 'mail_subject' && $key != 'plain_text'){
                $mail_body .= '<b>'.str_replace('_',' ',$key).'</b>:<br/>';
                $mail_body .= ''.stripslashes($value).'<br/>';
    $message = '<html><body>'.$mail_body.'</body></html>'; //  mail body
    //------------if plain text is set to true removing html tags------
    if ($_POST['plain_text']=='true') {
        $message = str_replace('<br/>',"\r\n", $message);
        $message = strip_tags($message);
    } else {
    //----otherwise composing message headers---------------------------
        $headers  = 'MIME-Version: 1.0' . "\r\n";
        $headers .= 'Content-type: text/html; charset=windows-1251' . "\r\n";
    //------------setting conf data-------------------------------------
    $to = $_POST['mail_to'];
    $from = $_POST['mail_from'];
    $subject = $_POST['mail_subject'];
    $smtp_server = $_POST['smtp_server'];
    $smtp_port = $_POST['smtp_port'];
    //---------setting header info--------------------------------------
    $headers .= 'From:' .$from;
    if (mail($to, $subject, $message, $headers)){ // sending mail
        print('&mail=1');  //succes
    } else {
        print('&mail=0');//failure
    ?>

    You can open both Muse files at once, copy the content of a page on one site, then paste it into a new page on the other site. You might have to redo some of the page styling.

Maybe you are looking for

  • Can you share large files on iCloud drive like dropbox?

    I am exploring how to use iCloud drive now...and had a basic question.  Can you share large files from it in a similar way as you can with dropbox?  This is a great feature of dropbox...or google drive when mailing large files just doesn't work.  I h

  • Install Oracle on Windows 7(Prof.)

    I want to Install Oracle 10g Release 2 on my Pc which having Windows 7 O/S with 3 GB RAM. can I do that. If not then can anybody tell me which Oracle version will be successfully loaded on windows 7 platform? Plz help me.

  • JTextField and bidi text

    I need to use JTextField control in oreder to type characters from right to left. (hebrew) I saw that there is a class java.text.bidi (jdk1.4). that support hebrew. how can i combine the two? is there away for JTextField to be right to left oriented?

  • Restricting Thread Pool for Servlet instances

    I am using WebLogic5.1.0 version wherein I am registering a Servlet which would be called by all the clients connecting to my aplication. The servlet's service methods is taking some time to execute. Since the servlet is following a SingleThreadModel

  • Acrobat Licensing question

    Is there a limit to the number of Forms I can create, the number of times a fillable form is downloaded and filled out, or the number of times this form can be printed, e-mailed or faxed back to me?