Include php file?

Is there a way to include a php file in a jsp. I have tried to use
<jsp:include page="../../index.php" flush="true" />
It does not seem to compile the php page, I don't get any output other than the text inside the HTML tags.
thanks

I would guess it is not possible, because Tomcat would need to be programmed to dispatch the php part to a different kind of processing. Who is the maintainer of php, is it Apache?
Maybe a request could be made to them for that part.
As far as i know, only java is supported in
<%@ page language="java" %>
So, not yet.

Similar Messages

  • How to include .php file in .shtml using SSI

    Hi,
    I've just finished with my "Contact Us form" for my website and have some issues with running it. I have a .shtml file http://mydomain.com/contact-us.shtml in wich I'd like to include a contact us form file http://mydomain.com/includes/ContactUs.php. Now, having my web page "contact-us" as a *.shtml file with ContactUs.php file included, I can run the form but I can't send any emails.  If I would change contact-us.shtml in contact-us.php the form runs perfect but, I can't use other includes on that file as logo, header, footer etc. How could I include an .php file in a .shtml file and runing both the included .php script and includes themself?
    Thank You!

    Keep it simple.
    Your html file uses syntax like "<!--#include file=".header" -->" to include an SSI file. Your server requires either (1) that the html file have the .shtml extension or (2) you twiddle with an .htaccess file to cause the server to parse ALL html files for SSIs. The latter is generally not a good idea.
    PHP files are already processed on the server. You include SSI files the same way, but the syntax is a little different: "<?php include (".header"); ?> ".

  • Include PHP file in a Flash movie

    Hi all,
    I have to include a PHP page in a flash movie. Is it possible ?
    If so please provide me the actionscript and code.
    Thanks
    Vipin

    No, you cannot visually incorporate a PHP file into a Flash file.

  • How to include Php Files in SrcView and Release Build

    Dumb question
    For a long time I have been manually copying any changes to my php files from the debug to the release folder manually. I know they can be linked so they do so on compile (and I am hoping also included in srcview) but never took the time to figure out what the proceedure is.
    About time I guess Suggestions?

    What I have been doing is creating a new folder in your src maybe like "scripts" or something.  Then you can create a .php file in there and when you double click to open it should open your default .php editor.  Now when you do a release build it will include the folder "scripts" in your bin-release.
    Then do something like
    <s:HTTPService id="my_http_service" url="./scripts/script.php" result="my_http_service_resultHandler(event)" resultFormat="e4x">
    The only problem I have run into is when testing locally you will need to have a copy on a server, unless you have apache running locally.
    Hope this helps!

  • [CS5] set the path to include php files dynamically

    this is my code php
    #into file confstart.php i create the session
    #$_SESSION["PATH"]["CORELIB"]=$_SERVER['DOCUMENT_ROOT']."/system/core/lib";
    include($_SERVER['DOCUMENT_ROOT']."/newportal/system/config/confstart.php");
    include($_SESSION["PATH"]["CORELIB"]."/function_rvsfarm.php");
    Unfortunately, this  method of assigning variables paths dw does not understand ... can be  set statically in some menu paths?? or to understand the path dw?

    Dreamweaver wouldn't understand this locally as the document root isn't always where your files reside.  Also dreamweaver doesn't parse the php script the find your files unless you set up the dynamic content.
    I tend to create a constant and hard code the path
    define("ABSPATH", "/home/client/domain.com/public_html/");

  • Html files with included php: related files, code color?

    Hi there,
    Wow, what an active forum!
    I have two questions about html files that include php.
    Almost all my html files have this structure:
    <?php
    (php stuff)
    require_once 'somefile.php';
    ?>
    (html stuff)
    My first question is, is there any way for DW CS4 to display the files included this way? At the moment, they don't show up in related file view.
    My second question is, is there any way for DW CS4 to display the html and php code in the file in a pleasant way? The php is not red as it is in pure php files.
    Definitely not wanting to change the way I code or to change the file extensions...
    Instead, wanting to change the SW settings to make my work easier.
    With gratitude,
    Smiles
    Andy

    Hi Brad,
    Thanks for your reply!
    > The PHP coding in a regular HTML page likely won't even work in a  browser
    That's a standard coding technique...LOL... Maybe I didn't explain correctly...
    My hundreds of pages validate XHTML transitional...
    You are quite right that browsers do not interpret php code, but the  browser never sees php code.
    I will try to explain again
    The html file starts with <? php (code> ?>
    When the browser calls the html file, the server knows to process the file as php.
    It processes the php, then returns some html headers, and follows up with all the html that is after the <? php (code> ?> section.
    Thousands of php coders work like this.It's a very efficient way of building a modular website while keeping html extensions.
    By the way, related files already show in CS4 if they are in the html code.
    Are you 100% sure you are correct about the CS5 inclusion situation? You won't know unless you have built an html file that looks like this.
    <?php
    require_once 'myfile.php'>
    ?>
    <body>
    hello html
    </body>
    Your myfile.php might look like this:
    <?php
    echo 'hello php <br />';
    ?>
    If you have never used php in an html file, you will probably need to add something like this to your .htaccess file:
    AddHandler application/x-httpd-php5 .php .htm .html
    It tells your server that php processes not only php files but also html files.
    Warmest wishes to all,
    Andy

  • SSI/'Include' a .php file?

    Hi All,
    Server Side Includes in DW look much more complex than they
    used to be! A
    few years ago I used them a lot. Now I read the 'Help' and
    I'm bewildered!
    I began wondering about this because we have PHP file
    containing n HTML
    fragment - on one server - and wish to include it in pages
    elsewhere. The
    Joomla sites will pull it in no prob.
    Q: Is there any way that a static DW site with .html pages
    can 'include'
    that code too?
    Thanks All,
    John

    > Q: Is there any way that a static DW site with .html
    pages can 'include'
    > that code too?
    You are asking if a static HTML page can include a PHP file
    fragment? Sure
    it can, using an HTML include, but be prepared for the static
    page to not
    execute any of the PHP in the fragment.
    > Server Side Includes in DW look much more complex than
    they used to be! A
    > few years ago I used them a lot. Now I read the 'Help'
    and I'm bewildered!
    They are exactly the same as they used to be. Nothing has
    changed.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "johnivan" <[email protected]> wrote in message
    news:giapm8$b1l$[email protected]..
    > Hi All,
    > Server Side Includes in DW look much more complex than
    they used to be! A
    > few years ago I used them a lot. Now I read the 'Help'
    and I'm bewildered!
    >
    > I began wondering about this because we have PHP file
    containing n HTML
    > fragment - on one server - and wish to include it in
    pages elsewhere. The
    > Joomla sites will pull it in no prob.
    >
    > Q: Is there any way that a static DW site with .html
    pages can 'include'
    > that code too?
    >
    > Thanks All,
    > John
    >

  • Including a file from another website on a Mac (PHP)

    I'm working on a Mac, and my websites are in a folder at the
    following
    location...
    MacIntosh HD > Users > MyName > Sites
    Let's say I'm working on a page on a website named Beta...
    HD > Users > MyName > Sites > Beta
    ...and I want to include a file from a different website,
    Alpha...
    HD > Users > MyName > Sites > Beta
    This is what the include looks like on my PC, though it isn't
    directed
    to another website:
    $BaseINC = $_SERVER["DOCUMENT_ROOT"];
    include ($BaseINC."/a1/inc/footer/index.php");
    Can anyone tell me how to modify this code so that it
    includes HD >
    Users > MyName > Sites > Alpha > a1 > inc >
    footer > index.php on a page
    in Sites > Beta? (I'm just focused on doing this locally;
    I know how to
    include files across websites online.)
    I assume it would look something like this
    include ("Alpha/a1/inc/footer/index.php");
    Thanks.

    > Can anyone tell me how to modify this code so that it
    includes HD >
    > Users > MyName > Sites > Alpha > a1 > inc
    > footer > index.php on a page
    > in Sites > Beta? (I'm just focused on doing this
    locally; I know how to
    > include files across websites online.)
    Includes are a web server functionality. As such, you'll need
    to place your
    folders inside the default APACHE folders (assuming Apache is
    the web server
    you are running on your mac).
    Secondly, SSIs crossing sites is typically not supported on
    any web server
    AFAIK. Your example would be grabbing a file from a different
    FOLDER,
    though...not specifically a different site (ie, it's own root
    directory on
    the server).
    -Darrel

  • InvocationTargetException if php file contains require/include

    Issue: InvocationTargetException Error when connect to php file. Is it a bug? How to solve it?
    Description: There is a error message when test the php service with flashbuilder function 'Data/Service'-> TestOperation/Configure Return Type. The solution is to remove the 'require' in the php and then flashbuilder works well and return correct return type.
    Error message: InvocationTargetException:There was an error while invoking the operation. Check your operation inputs or server code and try invoking the operation again.
    PHP file for testing:
    <?php
    require ("Random.php");
    class FUNS {
              public function ABC()
                        return "Testing";
    ?>

    No, you cannot visually incorporate a PHP file into a Flash file.

  • Spry Dynamic Tabs - reCAPTCHA is missing when loading external php file

    Hello,
    I have solved all my problems lately on this forum.
    But now im converting my site to use Dynamic tabs, and something goes wrong.
    The dynamic tabs load content from external files. It loads html but i think something goes wrong with php and my buttons.
    You need to know ALL is working perfect on the old site.
    2 problems;
    I dont know how to convert my buttons to this new style.
    I dont know why the reCAP suddently is missing.
    Why is reCAPTCHA missing?
    SOURCE HTML (index.html);
    <?php include("PHP/form.php"); ?>
    <!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" xmlns:spry="http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
         <title>Wientjes Voegwerk &amp; Renovatie - Home</title>
        <meta http-equiv="Content-Language" content="NL" />
         <meta http-equiv="imagetoolbar" content="no" />
         <meta name="MSSmartTagsPreventParsing" content="true" />
        <meta name="description" content="Wientjes Voegwerk en Renovatie is een voeg- en renovatiebedrijf gespecialiseerd in gevelrenovatie. Dagelijkse werkzaamheden zijn het voegen van nieuwbouwwerk, en alle voorkomende vormen van gevelrenovatie. Ik geef uw woning, garage of schoorsteen de aandacht die het verdient en ben trots op het resultaat van mijn werk!"/>
        <meta name="keywords" content="Voegwerk, Renovatie, Reinigen, Impregneren, Muur, Voegen, Steen, Woning, Garage, Schoorsteen, Bedrijf, Gevel, Wientjes, Uitslijten, Kappen, Fundering, Vorstschade, Metselen, Metselwerk, Vocht" />
        <meta name="author" content="Rob Nijlaan" />
        <link href="CSS/Style2.css" rel="stylesheet" type="text/css" />
        <script src="JAVASCRIPT/SpryTabbedPanels.js" type="text/javascript"></script>
        <script src="JAVASCRIPT/SpryEffects.js" type="text/javascript"></script>
         <script src="JAVASCRIPT/SpryData.js" type="text/javascript"></script>
        <script src="JAVASCRIPT/xpath.js" type="text/javascript"></script>
         <script type="text/javascript">
         <!--
         function FadeAndUpdateContent(ele, url){
              try {
                   Spry.Effect.DoFade(ele,{
                        duration: 500, from: 100, to: 0, finish: function() {
                             Spry.Utils.updateContent(ele, url, function() {
                                  Spry.Effect.DoFade(ele,{ duration: 500, from: 0, to: 100 });
              catch(e){ alert(e); }
         -->
         </script>
    </head>
    <body>
    <div id="WContainer">
      <div id="WHeader" align="center"> <img src="Art/VoegenRenLos.png" width="540" height="58" alt="Voeg en Renovatiebedrijf" /><br />
        <img src="Art/WientLogo.png" width="600" height="136" alt="Wientjes Voegwerk &amp; Renovatie" /> </div>
      <script type="text/javascript">
         var dsTabs = new Spry.Data.XMLDataSet("data/data.xml", "tabs/tab");
         function loadContent(panel,url){
              Spry.Utils.updateContent(panel,url);
         Spry.Data.Region.addObserver("example1Region",dateLoadedCallback);
         function dateLoadedCallback(notificationType, notifier, data){
              if (notificationType =="onPostUpdate"){    
                   row= dsTabs.getRowByRowNumber(0)
                   if(row){
                        loadContent('0',row.url)
         </script>
      <div id="example1Region" spry:region="dsTabs">
        <div id="dynamicTabs" class="TabbedPanels">
          <ul class="TabbedPanelsTabGroup" >
            <li spry:repeat="dsTabs" class="TabbedPanelsTab" onclick="loadContent('{ds_RowID}','{url}');" tabindex="0">{title}</li>
          </ul>
          <div class="TabbedPanelsContentGroup">
            <div spry:repeat="dsTabs" id="{ds_RowID}" class="TabbedPanelsContent"></div>
          </div>
        </div>
        <script type="text/javascript">
                var t1 = new Spry.Widget.TabbedPanels("dynamicTabs");
                 </script>
      </div>
      <div id="WFooter" align="center">
        <p class="footer">Wientjes Voegwerk &amp; Renovatie     ,    03- '02       »      Site by ;    <b>Rob Nijlaan</b></p>
      </div>
    </div>
    </body>
    </html>
    Dont mind the extra javascripts they are not used for now (like SpryEffects.js) its for future use.
    SOURCE XML (data.xml);
    <?xml version="1.0" encoding="UTF-8"?>
    <tabs>
        <tab>
            <title>
              tab 1
              </title>
            <url>../data/HOME.html</url>
        </tab>
        <tab>
            <title>Tab2</title>
            <url>examples/tab2.html</url>
        </tab>
         <tab>
            <title>Tab3</title>
            <url>examples/tab2.html</url>
        </tab>
         <tab>
            <title>Tab4</title>
            <url>../PHP/form.php</url>
        </tab>
    </tabs>
    The html file loads like it should be, but the php form has problems.
    See it yourself: http://www.wientjesvoegwerk.nl/index2.html
    The tab 1 displays a html file like it should.
    The tab 4 displays the contact form but you will see the reCAPTHCA is missing.
    I have really no clue why it happens, exept maybe its a PHP issue.
    Maybe the script isnt compatible with non-html documents...
    Can someone please tell me whats the problem and if there is a solution????
    How do i change this button?
    I used this in my previous site:
    <table class="Button"  >
         <tr>
         <td style="padding-right:0px" title ="Home">
         <a href="#" title="Home" style="background-image:url(/Buttons/Home.png);width:172px;height:75px;display:block;"><br/>
         </a></td>
         </tr>
    </table>
    But the dynamic script uses {title} to get the <title> out of the xml.
    I tryd to put this straight into the title tags in the xml but obviously it wont work.
    And i really dont have a clue how to change this.
    My button has a mouseover img. Basicly its 2 buttons in 1 img stacked on top of each other.
    Like this: http://www.wientjesvoegwerk.nl/Buttons/contact.png
    Because of the CSS script it hovers to the right position.
    Part of SOURCE CSS (Style.css)
    .Button a{display:block;}
    .Button a:hover{background-position:left bottom;}
    a.Button {display:none}
    How can i change the xml and the script so "title" can be replaced with the button.
    Or how can i change the button so the mouseover works and the script still takes the button-img from the xml???
    Any help would be nice, because im finnaly in a postition to finish this site, and this is the only blockade left to conquer...

    Maybe it is not liking that the index page is an HTML page and not a PHP page. Try this way:
    In your form.php, remove the following code:
    <?php
    require_once('recaptchalib.php');
    $publickey = "6LfKNwwAAAAAAEdS6PjiDSHRQBDOYrGcM8R1eQQm"; // you got this from the signup page
    echo recaptcha_get_html($publickey);
    ?>
    Replace it with:
    <script type="text/javascript" src="http://api.recaptcha.net/challenge?k=6LfKNwwAAAAAAEdS6PjiDSHRQBDOYrGcM8R1eQQm"></script>
        <noscript>
              <iframe src="http://api.recaptcha.net/noscript?k=6LfKNwwAAAAAAEdS6PjiDSHRQBDOYrGcM8R1eQQm" height="300" width="500" frameborder="0"></iframe><br/>
              <textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
              <input type="hidden" name="recaptcha_response_field" value="manual_challenge"/>
        </noscript>
    The replacement code is the same code that is outputted from the recaptchalib.php file.

  • 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

  • How do I compensate for only one ADDT ' tNG_config.inc.php file with many Registration pages to build?

    My dynamic site has a lot of different languages funneled into one website, using various cookies, url params, php includes, etc. all to obtain similar info in different languages. Thank you David Powers.
    It is working really well and now I’ve come to the Registration section. Okay, so registration isn’t all that hard; I could do most of it with the standard Dreamweaver set of tools. Alas, I really like much of what ADDT has to offer with welcome email messages and activation and such.
    Here’s the setup: Obviously, with many different language people, I have many different databases for them. I did that becuase we’re expecting a big audience and I really don’t want to have all those different language names in the same table. Furthermore, these tables, whereby the students will login, will also contain a lot of information about their work so again, don’t want to have one massive table. I’ve divvied them up into tables by language and I’m using those tables to keep track of them and their work.
    I want to use ADDT’s User Registration Wizard and I have looked at all the neat stuff in the Control Panel/Login Settings.
    Here’s my situation: I notice that when I’m done with the configuring of one of the registration pages, I’m asked if I want to upload the tNG_config.inc.php page and that it has changed since the last upload. I saved a copy of the _config.inc.php and did a new registration form with the same info and when done, I compared the two _config.inc.php files. As one would guess, there is a small difference in the Connection string to the databases  $tNG_login_config["connexction"] = "connString_Ital_db".
    My problem is that I have 13 of these registration pages to do but ADDT only has the one tNG_config.inc.php. That’ll work great for the one with which it is associated, but the others will obviously break. I’ve looked through the code in the Registration pages, to find the ADDT link to the tNG_config.inc.php file hoping to rename it Italian, Spanish, etc, but the name of the file does not appear in the Registration page.  I realize that ADDT Control panel is designed for use on one site, and can then be used on others, with the changes etc. But my site seems a little unique since so many sites are actually in one.
    Has anyone whipped this problem before? I just don’t understand why there is no link in the head code of the Registration page to let me change it and to create more config files with different names. Thanks for you help!
    [Moved by moderator to appropriate forum]

    Hi Brian,
    I just tried to check all of ADDT´s "includes" files for any internal references (read: "require" or "require_once" statements) to the file "tNG_config.inc.php". So far I can only see this file referenced in the file "tNG.inc.php" (within the "$KT_tNG_uploadFileList1" array).
    So what could this mean ? Maybe you´ll have to make copies of the the original "tNG.inc.php" as well and save them as, say, "tNG.inc_ital.php" file plus make sure that these copies internally point to a different "tNG_config_ital.inc.php" file -- because it´s always the first mentioned file which gets referenced from e.g. an ADDT login page (see the "Load the tNG classes" - part)
    I want to use ADDT’s User Registration Wizard and I have looked at all the neat stuff in the Control Panel/Login Settings
    The Control Panel will always update the main "tNG_config.inc.php" file, so any further modifications will have to become manually applied to the custom files you´re creating.
    Cheers,
    Günter

  • 404 error when hit submit from php file for requested path E:\vise\jqproject\web\errorpages\403_error.htm

    I have a php script that when I hit submit, it submits the form to another php file with a get command.  This worked about a month ago, but this month it's having issues.  This is what the relevant code looks like in the table php file. Running
    table.php shows the table in the browser and has 404 errors when I hit submit.
    table.php:
        <body>  
            <h1> Visual Evaluation Entry Table </h1>
            <form method="get" action="visEupload.php">
        <table id="bigTable" border="1">
            <thead>
             <tr>
               <!--<th id="bandY" class="col3">Bands @263mm Y</th><th id="bandM" class="col3">Bands @263mm M</th><th id="bandC" class="col3">Bands
    @263mm C</th><th id="bandK" class="col3">Bands @263mm K</th><th id="Comments" class="col3">Comments</th>-->
             <th id="bandY" class="col3">Bands @263mm Y</th><th id="bandM" class="col3">Bands @263mm M</th><th id="bandC" class="col3">Bands
    @263mm C</th><th id="bandK" class="col3">Bands @263mm K</th><th id="Comments" class="col3">Comments</th>
             </tr>
            </thead>
            <tbody>
                <tr name="MCBands" id="9214">
                    <!--<td><input name="Yevaluation" ></td>  //Row 0 Column 1-->
                    <!--<td><input name="Mevaluation" ></td>  //Row 0 Column 2-->
                    <!--<td><input name="Cevaluation" ></td>  //Row 0 Column 3-->
                    <!--<td><input name="Kevaluation" ></td>  //Row 0 Column 4-->
                    <!--<td><input name="comment" ></td>  //Row 0 Column 4-->
                    <td><input name="bandY" ></td>  <!--//Row 0 Column 1-->
                    <td><input name="bandM" ></td> <!-- //Row 0 Column 2-->
                    <td><input name="bandC" ></td> <!-- //Row 0 Column 3-->
                    <td><input name="bandK" ></td><!--  //Row 0 Column 4-->
                    <td><input name="comment" ></td>
                </tr>
            </tbody>
        </table>
          <input id="submit" type="submit" class="list" name="submit" value="Submit To Database" >  
           <!--maybe move all php part to other file-->
           </form>
        </body>
    The server is mapped so when we run it off of the server, we use the server ip address and my file name and skip the rest of the path, which works fine with the table.php file, so that mapping appears correct.  When I run it off of the server (from my
    desk) and hit submit it gives me a 404 file or directory not found.  When I run it locally on the server, it's saying it can't find the file name, but it says the requested url is `http://localhost:80/errorpages/403_error.html.`  Physical path: E:\vise\jqproject\web\errorpages\403_error.html. 
    The error message says the notification is from the MapRequestHandler of Module IIS Web Core. I'm not sure why the requested url/path isn't referring to visEupload.php.
    (Running on the server) When I change the action in the table.php get to include the IP address, it's behaving weirdly:
    Module IIS Web Core Notification MapRequestHandler Handler PHP53_via_FastCGI, Requested URL `
        http://localhost:80/13.141.xxx.xx/visEupload.php?bandy=xx&bandM=xx&bandc=hj&bandk=xx&comment=xx&submit=submit+to+database
    physical path shows as E:\visE\jqproject\web\13.141.xxx.xx\visEupload.php
    Login Method and user Anonymous.
    When I change the url to just be
        localhost/viseUpload.php
    it's getting HTTP Error 404 not found.  Any ideas why it's not finding the visEupload.php file?  It has the correct .php extension.  In file properties it's a type php file with name visEupload.php.  
    I took a look at
    [404 error][1] but I see my "allowUnlisted="true" in applicationHost.config. I'm not using sitefinity, though. 
    I'm not sure if something got over-written when we did a server windows update.  
    I know we were having a problem with get and post a couple months ago and we had to add them to the IIS Manager Handler Mappings somewhere, but don't remember where we added them to check.  Since I tried directly accessing the visEupload.php without any
    get (and commented out get code in the file) it should have worked if that was the issue.
    We are running server 2008 R2 and I'm not sure which version of IIS it is.
    In case it matters, this is the contents of the visEupload.php:
        <!DOCTYPE html>
        <html lang="en" >
        <head>
        <meta charset="utf-8" />
            <title>Big Table</title>
        </head>
        <body>
        <?php
            require_once( "../classes/class.OLAPdatabase.php");
            require_once( "../common/Session.php");
            $OLAPdb = new OLAPdatabase;
              handling of the get part is commented out
           ?>
        </body>
    All I can think of is that when I access visEupload.php it's running from the get/action in table.php.  This might be a different user running in the system.  I tried changing visEupload.php file properties to have full control for IUSR and Internet
    Guest Account.  It already has full control for System, and me.  Users have read & exeture and read permissions. Or maybe it's something that has to do with how the directory is mapped out.  I'm not sure what could be affecting this, and
    why the message said it can't find the path to 403_error.html.
      [1]: http://www.sitefinity.com/developer-network/forums/bugs-issues-/server-error-404---file-or-directory-not-found
    Michele Cleary

    Hello,
    for IIS question better ask in http://forums.iis.net/
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://msmvps.com/blogs/mweber/
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.

  • Dreamweaver 8 not properly displaying php file in display area...

    Hi...
    I have made I new site... www.tresfjording.com
    It's all in Norwegian, but it seems to work fine in MSIE7
    But in my Dreamweaver's design window it's a mess.
    In fact it shows just parts of the page and even that is
    garbled...
    Have installed WampServer to view the PHP pages hoping for a
    miracle, but
    that didn't work at all.
    I am left with my own messy code to edit pages, and frankly
    that's a kind of
    a eternal try and error process for me...
    I need my WYSIWYG back, without getting rid of the two lines
    of PHP in each
    page. Once including the left column data, and the other the
    right column
    data.
    Is there a solution in upgrading to CS3?
    Or is there another closer and cheaper solution?
    Regards
    Zadig Galbaras
    (nick)
    www.tresfjording.com

    Hello,
    Take a look at the source code using the browser.
    There are 3 doc types and numerous <body>,
    </body>, meta tags and additional
    links to stylesheets within the code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 //EN">
    <HTML>
    <HEAD>
    <link href="css/granbergMain.css" rel="stylesheet"
    type="text/css">
    <!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>
    <link href="css/granbergTopp.css" rel="stylesheet"
    type="text/css" />
    <!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>
    <link href="css/granbergSide.css" rel="stylesheet"
    type="text/css" />
    As Alan asked, is the page using includes? It appears to be
    using php
    includes.
    The home page is:
    http://www.tresfjording.com/index.php
    If you just opened the same index.php file in notepad that
    you open in DW,
    you wouldn't see the additional tags and doctypes.
    But if you view the page in IE, and "view source", you'll see
    them. The
    includes are added server side and output to the browser.
    Can you paste the code from one of the include pages?
    Take care,
    Tim
    "Zadig Galbaras" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi Alan...
    >
    > I loaded the file into Notepad++ and checked but I
    coudn't find the tags
    > you mentioned...
    > To me the <HTML>, <HEAD> and <BODY>
    seems correct.
    > If I remove one of them, the display worsens
    drastically! :-(
    >
    > --
    >
    > Regards
    > Zadig Galbaras
    > (nick)
    > www.tresfjording.com
    > -----
    >
    >
    >
    > "Alan" <[email protected]> skrev i
    melding
    > news:C4047C35.2F29A4%[email protected]...
    >>
    >>
    >>> www.tresfjording.com
    >>
    >> Is the page using includes?
    >>
    >> There's four <body> tags on the page. And four
    head tags. and so on.
    >> Dw's design view stops when it encounters a second
    body tag.
    >>
    >> Strip the included files down to just what is
    correct syntax for where
    >> they
    >> are used in the main page.
    >>
    >> --
    >> Alan
    >> Adobe Community Expert, dreamweaver
    >>
    >>
    http://www.adobe.com/communities/experts/
    >>
    >>
    >>
    >

  • Unable to edit php files in CS3

    Hi,
    I have users that need to edit content in php files in Contribute CS3, just editing text and adding images etc. Every time they try to edit a page they just get a grey screen with the words 'headerMenu', which happens to be the page title of a file that is included using the php include command. They cannot edit anything on the page. I have checked the admin options and they are allowed to edit scripts etc..
    Any ideas on what might be causing this?
    Thanks,
    David

    Hi imadb,
    Since you have the Acrobat Pro DC 30-day trial, please try opening that to edit your PDFs (rather than opening them in Reader, and clicking the Edit PDF button).
    If you search your computer, you should have both an Adobe Acrobat Reader DC and and Adobe Acrobat Pro application. They can coexist, but it does make things a little confusing.
    If you want to evaluate  Acrobat Pro DC, it's best that you open it directly. That way, you can get the real "lay of the land" with Acrobat before making any purchase decisions.
    Best,
    Sara

Maybe you are looking for