Problem displaying php page in dreamweaver

I am having problems displaying php scripting on dreamweaver.
Need your advice.
Installed dreamweaver 8, Coldfusion 7, mysql, php5.2 (using
windows installer).
Created file test.php ror testing containing
<!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>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
date is:<b><?php echo Hello ?></b>
</body>
</html>

ulises_arsi wrote:
> I am having problems displaying php scripting on
dreamweaver.
Tell us what the problems are.
> Installed dreamweaver 8, Coldfusion 7, mysql, php5.2
(using windows installer).
PHP needs to be configured with a web server, such as Apache
or IIS.
ColdFusion is also a webserver, but as far as I know, it
cannot be
configured to serve PHP pages.
> date is:
<?php echo Hello ?>
The only thing that would display is an error message. Hello
needs to be
enclosed in quotes:
<?php echo 'Hello'; ?>
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/

Similar Messages

  • Flash problems on PHP pages - dreamweaver

    hi, i'm building a site that's basically a bunch of php-pages
    (header, content, menu...) that are loaded into a index.php page
    using "require" and javascript etc. anyways, many of the pages will
    include flash files and this is causing some problem. have been
    doing this kind of stuff before, but the flash code has changed
    with the new version of dreamweaver. and i'm having trouble
    figuring out what the problem is.
    the index page is at
    http://www.onion-berlin.com/test
    the logo animation (flash) sits on a page called header.php
    and works like it should
    but the mustavuori.php page in the content div isn't working.
    the text is there, but the flash doesn't show.
    the flash icon on the index.php page (in dw) looks broken,
    but on mustavuori.php not.
    what's wrong?
    i put the
    <script src="Scripts/swfobject_modified.js"
    type="text/javascript"></script>
    in the head-section of the index page,
    but where should this stuff go:
    <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
    </object>
    <script type="text/javascript">
    <!--
    swfobject.registerObject("FlashID");
    //-->
    </script>

    and yeah, don't pay attetion to the news section. the links
    & pages are not yet in place...

  • Display php page ok vs ko because of oracle client or cache or buffer size?

    Hello everybody,
    Excuse me for my english,
    I searched every where but ...
    linux ubuntu
    php 4.4.6
    apache 2.2.4
    oracle client XE
    VS
    win xp
    php 4.4.6
    apache 2.2.4
    oracle client 9i
    same database 9i
    a sql query :
    - select statement cost 25
    - execution time : 0,2 sec
    - rows number : 4238
    My problem : When I want display in an array all the résults in a web page with php, I always manage to display my page via win box
    BUT on linux box the display depends :
    1 - firsts times : on IE (impossible d'afficher la page) on ff (white page)
    I tried to change my directive in php.ini and httpd.conf and try to display this page nothing better
    2 - the more I tried to display the page, the more the query is execute (I log my php code, and it executs until the last line). After several tried, I manage to display my page. But if I execute other queries and come back to my page -> etape 1.
    in my php code, I use successively :
    OCIPLogon,OCIParse,ocisetprefetch(5000),OCIExecute
    Is someone had the same problem?
    Edited by: crazykangourou on Oct 24, 2008 1:08 AM : Indications on php code

    Make sure to check the return code from each OCI call. If an error occurs, try to
    resolve the problem.
    The version of the OCI8 extension with PHP 4.4 is unstable. If possible, upgrade
    at least OCI8. See the section "Installing PHP 4 on Linux" on the bottom of page 81
    of the current version (1.4) The Underground PHP and Oracle Manual

  • Problem displaying error page of web.xml when using JSF, Ajax4jsf

    Hi,
    My application is using MyFaces, RichFaces and Ajax4jsf. When i try to display error page configured in web.xml, i am getting exception "Error while processing error page".
    my web.xml contents are as follows:
    <?xml version="1.0"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <filter>
    <display-name>RichFaces Filter</display-name>
    <filter-name>richfaces</filter-name>
    <filter-class>org.ajax4jsf.Filter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>richfaces</filter-name>
    <servlet-name>faces</servlet-name>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <filter>
    <filter-name>extensionsFilter</filter-name>
    <filter-class>
    org.apache.myfaces.webapp.filter.ExtensionsFilter
    </filter-class>
    <init-param>
    <description>
    set the size limit for uploaded files. Format: 10 - 10 bytes 10k
    - 10 KB 10m - 10 MB 1g - 1 GB
    </description>
    <param-name>uploadMaxFileSize</param-name>
    <param-value>100m</param-value>
    </init-param>
    <init-param>
    <description>
    Set the threshold size - files below this limit are stored in
    memory, files above this limit are stored on disk.
    Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
    </description>
    <param-name>uploadThresholdSize</param-name>
    <param-value>100k</param-value>
    </init-param>
    </filter>
    <filter>
    <filter-name>Seam Redirect Filter</filter-name>
    <filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class>
    </filter>
    <filter>
    <filter-name>KTServletFilter</filter-name>
    <filter-class>com.kenexa.core.system.KTServletFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>Seam Redirect Filter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>KTServletFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <!-- seam Listeners -->
    <listener>
    <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
    </listener>
    <listener>
    <listener-class>com.kenexa.kr.web.KRServletListener</listener-class>
    </listener>
    <servlet>
    <servlet-name>faces</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>faces</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <error-page>
    <exception-type>java.lang.Throwable</exception-type>
    <location>/rc/systemError.jsf</location>
    </error-page>
    </web-app>
    As per the configuration, when exception is thrown out of the application, container tries to display systemError.jsp page. If we want to include the JSF tags in systemError.jsp page, the request should pass through FacesServlet, so in the <error-page> <location> tag systemError page is specified with the extention systemError.jsf though it's actual extention is .jsp
    When exception is thrown from the application container invoke the error page but, while rendering systemError.jsf page exception is thrown saying "Exception processing error page "systemError.jsp" "
    To solve this problem i've gone through several forums, materials.
    In one forum a guy said, JSF1.1 spec has some problem in displaying error pages. To solve this don't write <f:view> tags in the error page, use <f:subview> intstead. By reading this, i again changed the contents of systemError.jsp page replacing <f:view> by <f:subview>. But the error is still repeating.
    Finally what i found is, when we use Ajax4jsf in the application, its AjaxViewRender class is throwing exception while rendering error pages configured through web.xml.
    So what i did is i changed error page extention from .jsf to .jsp in the <location> tag. Now jsf won't come in the picture and remove JSF related tags from the systemError.jsp page.
    <error-page>
    <exception-type>java.lang.Throwable</exception-type>
    <location>/rc/systemError.jsp</location>
    </error-page>
    Any comments are welcome----------------------------------------------------------------

    I too iam facing the same problem could you advise if you have found any solutions
              -Ram

  • 1.1.3 problems displaying web pages

    After updating (and paying $20) to 1.1.3 Safari on my iTouch is now not displaying web pages nicely. Most don't fully load. Some load as text instead of html. Often I get "can't locate server." even for CNN and Apple.com. Google search doesn't work.
    All these pages load to some degree but something is missing?!?!?
    "Cannot connect to YouTube"
    "Error Retrieving Chart" when trying to get stocks from Yahoo widget.
    Anyone else having these issues??

    Misery loves company..... I'm having the EXACT same symptoms. The Weather app also gets a failure trying to update. It's even erratic trying to access the iTunes on my iPod. Most times, I get an unable to connect to server message after it appears some items are downloaded. On Mail, it works, but even though I'm accessing Gmail via POP, after accessing it okay it then tries to access via IMAP, and gives me an error. And it sometimes will give me an entry saying "Download next 25...." and shows me I have a few million unread emails. But if I tap that entry it goes away. I'm also using a WRT54ag, but I really have a problem having to swap this out to get wireless going again. Hopefully, Apple will come to the rescue before I decide I need to go down that path. I also tired to restore the iPod, but after a few minutes it told me it couldn't restore. I've seen workarounds for that, but.... Anyway, at least I know I'm not hallucinating all these quirky problems.

  • Safari doesn't display php page, Firefox does

    Is there a known issue with Safari not displaying certain php content? My college uses a php database to show schedules and grades. Safari doesn't display anything other than the URL in the page window when the page loads. Firefox displays the content and allows all form completion functionality.
    The school's product is Jenzabar's Poise (PX) Aacademic database.
    It has been this way for the last few updates - I keep hoping that a Safari update will repair the issue but alas, that doesn't seem to happen.
    I'd prefer Safari because compared to it Firefox is dog slow.

    Please contact or have your IT dept contact Tom at ESP to provide more information related to your problem. ESP provides support for the Jenzabar PX product in Texas. Thanks - Tom

  • JAI - problem displaying additional pages from multi-page image

    Hi,
    I have 10 page multipage tiff images. And i would like to show the images one-by-one on a ScrollingImagePanel.
    I have a Main frame with two panels. Panel1 which shows the ScrollingImagePanel.
    And Panel2 has two buttons. LOAD Button show the 1st page on the ScrollingImagePanel.
    And NEXT button is suppose to show the 2nd page and continue until the end of the multipage images.
    I am having problem with the NEXT button. I wrote a program that show the page number and page height
    on the output screen. It shows the page# and different heights. But it would not show the images on the ScrollingImagePanel.
    It just shows the 1st page. I would appreciate if you can help me out with this problom.
    Please find the code which is written in JBuilder.
    // Main class
    package untitled1;
    import java.awt.*;
    import javax.swing.UIManager;
    import java.awt.*;
    import java.io.File;
    import java.io.IOException;
    import java.awt.Frame;
    import java.awt.image.RenderedImage;
    import javax.media.jai.widget.ScrollingImagePanel;
    import javax.media.jai.NullOpImage;
    import javax.media.jai.OpImage;
    import com.sun.media.jai.codec.SeekableStream;
    import com.sun.media.jai.codec.FileSeekableStream;
    import com.sun.media.jai.codec.TIFFDecodeParam;
    import com.sun.media.jai.codec.ImageDecoder;
    import com.sun.media.jai.codec.ImageCodec;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.awt.event.*;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2002</p>
    * <p>Company: </p>
    * @author unascribed
    * @version 1.0
    public class Application1 {
    boolean packFrame = false;
    //Construct the application
    public Application1() {
    Frame2 frame = new Frame2();
    frame.setSize(820,700);
    //Validate frames that have preset sizes
    //Pack frames that have useful preferred size info, e.g. from their layout
    if (packFrame) {
    frame.pack();
    else {
    frame.validate();
    //Center the window
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    Dimension frameSize = frame.getSize();
    if (frameSize.height > screenSize.height) {
    frameSize.height = screenSize.height;
    if (frameSize.width > screenSize.width) {
    frameSize.width = screenSize.width;
    frame.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);
    frame.setVisible(true);
    //Main method
    public static void main(String[] args) {
    new Application1();
    // Frame2 Class
    package untitled1;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.UIManager;
    import java.io.File;
    import java.io.IOException;
    import java.awt.Frame;
    import java.awt.image.RenderedImage;
    import javax.media.jai.widget.ScrollingImagePanel;
    import javax.media.jai.NullOpImage;
    import javax.media.jai.OpImage;
    import com.sun.media.jai.codec.SeekableStream;
    import com.sun.media.jai.codec.FileSeekableStream;
    import com.sun.media.jai.codec.TIFFDecodeParam;
    import com.sun.media.jai.codec.ImageDecoder;
    import com.sun.media.jai.codec.ImageCodec;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.awt.event.*;
    import java.awt.image.renderable.ParameterBlock;
    import javax.media.jai.*;
    import javax.media.jai.widget.*;
    import com.sun.media.jai.codec.*;
    import java.util.*;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2002</p>
    * <p>Company: </p>
    * @author unascribed
    * @version 1.0
    public class Frame2 extends Frame {
    JPanel jPanel1 = new JPanel();
    JPanel jPanel2 = new JPanel();
    JButton loadButton = new JButton();
    public static ScrollingImagePanel panel, panels;
    JButton nextButton = new JButton();
    public String filename= "144.tif";
    public File file;
    public SeekableStream s;
    public ImageDecoder dec;
    protected int imageWidth, imageHeight;
    public int nextpage = 1;
    public RenderedOp image2 = null;
    public RenderedImage op = null;
    //Frame Constructor
    public Frame2() {
    try {
    jbInit();
    catch(IOException e) {
    e.printStackTrace();
    private void jbInit() throws IOException {
    this.setLayout(null);
    this.addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    this_windowClosing(e);
    jPanel1.setBackground(Color.white);
    jPanel1.setBorder(BorderFactory.createLineBorder(Color.black));
    jPanel1.setBounds(new Rectangle(1, 7, 816, 648));
    jPanel1.setLayout(null);
    jPanel2.setBackground(Color.lightGray);
    jPanel2.setBorder(BorderFactory.createLineBorder(Color.black));
    jPanel2.setBounds(new Rectangle(1, 657, 816, 42));
    loadButton.setText("Load");
    loadButton.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    try{                          
    loadButton_actionPerformed(e);
    catch(IOException IOE){
    System.out.println(IOE);
    nextButton.setText("Next");
    nextButton.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    try {
    nextButton_actionPerformed(e);
    catch(IOException IOE){
    System.out.println(IOE);
    this.setResizable(false);
    this.add(jPanel1, null);
    this.add(jPanel2, null);
    jPanel2.add(loadButton, null);
    jPanel2.add(nextButton, null);
    void this_windowClosing(WindowEvent e) {
    System.exit(0);
    //Load Image Button
    void loadButton_actionPerformed(ActionEvent e) throws IOException { 
    file = new File(filename);
    s = new FileSeekableStream(file);
    dec = ImageCodec.createImageDecoder("tiff", s, null);
    RenderedImage op =
    new NullOpImage(dec.decodeAsRenderedImage(),
    null,
    OpImage.OP_IO_BOUND,
    null);
    Interpolation interp = Interpolation.getInstance(Interpolation.INTERP_BILINEAR);
    ParameterBlock params = new ParameterBlock();
    params.addSource(op);
    params.add(0.55F); // x scale factor
    params.add(0.335F); // y scale factor
    params.add(0.00F); // x translate
    params.add(0.00F); // y translate
    params.add(interp); // interpolation method
    image2 = JAI.create("scale", params);
    int width = (int)(image2.getWidth() * .73);
    int height = (int)(image2.getHeight() * .73);
    panel = new ScrollingImagePanel(image2, 819, 648);
    jPanel1.add(panel);
    this.setVisible(true);
    //Next Image Button
    void nextButton_actionPerformed(ActionEvent e) throws IOException {
    TIFFDecodeParam param = null;
    file = new File(filename);
    s = new FileSeekableStream(file);
    dec = ImageCodec.createImageDecoder("tiff", s, param);
    nextpage++;
    System.out.println(nextpage);
    RenderedImage op1 =
    new NullOpImage(dec.decodeAsRenderedImage(nextpage),
    null,
    OpImage.OP_IO_BOUND,
    null);
    Interpolation interp = Interpolation.getInstance(Interpolation.INTERP_BILINEAR);
    ParameterBlock params = new ParameterBlock();
    params.addSource(op1);
    params.add(0.55F); // x scale factor
    params.add(0.335F); // y scale factor
    params.add(0.00F); // x translate
    params.add(0.00F); // y translate
    params.add(interp); // interpolation method
    image2 = JAI.create("scale", params);
    int width = (int)(image2.getWidth() * .73); //1.03);
    int height = (int)(image2.getHeight() * .73); //1.03);
    panels = new ScrollingImagePanel(image2, width, height);
    System.out.println(op1.getHeight());
    jPanel1.add(panels);
    this.setVisible(true);
    thanks in advance

    Take a look at this code.
    //Search the Policynumber
    void searchButton_actionPerformed(ActionEvent e) {
    try{
    nextButton.setEnabled(false);
    previousButton.setEnabled(false);
    String query = "SELECT * FROM PINFO WHERE POLICYNUMBER = '" +
    searchTextfield.getText().toUpperCase() + "'";
    ResultSet rs = Application1.stmt.executeQuery(query);
    while(rs.next()){
    pid = (rs.getInt("PID"));
    policynumber = rs.getString("POLICYNUMBER");
    firstName = rs.getString("FIRSTNAME");
    lastName = rs.getString("LASTNAME");
    jLabel2.setText(policynumber);
    jLabel3.setText(firstName);
    jLabel4.setText(lastName);
    catch(SQLException ex){
    System.err.println("SQLException: " + ex.getMessage());
    try{
    String query = "SELECT * FROM (UNMATCH U LEFT JOIN DOCUMENTTYPE D ON U.DOCUMENTTYPE=D.DOCNUMBER) WHERE PID = '" + pid + "' ORDER BY D.DOCUMENTCODE";
    ResultSet rs1 = Application1.stmt.executeQuery(query);
    clearJList();
    v.removeAllElements();
    jList1.setListData(v);
    v1.clear();
    while(rs1.next()){
    documentcode = rs1.getString("DOCUMENTCODE");
    uindex = rs1.getString("UINDEX");
    v.add(documentcode);
    v1.add(uindex);
    jList1.setListData(v);
    clearTextfield();
    catch(SQLException s){
    System.err.println("SQLException: " + s.getMessage());
    public void clearJList(){
    jList1.setListData(v);
    public void clearTextfield(){
    searchTextfield.setText("");
    // ****** Loads the selected Image
    void jList1_mouseClicked(MouseEvent e){
    try{
    vector.clear();
    nextpage = 1;
    currentpage = 1;
    nextButton.setEnabled(true);
    previousButton.setEnabled(false);
    if (spane != null)
    jPanel1.removeAll();
    seek = null;
    String query1 = "SELECT * FROM UNMATCH WHERE UINDEX = '" + v1.get(jList1.getSelectedIndex()).toString() + "'";
    rs2 = Application1.stmt.executeQuery(query1);
    while (rs2.next()){
    stream = rs2.getBinaryStream("IMAGE");
    seek = new MemoryCacheSeekableStream(stream);
    TIFFDecodeParam param = null;
    dec = ImageCodec.createImageDecoder("tiff", seek, param);
    try{
    totalPages = dec.getNumPages();
    jLabel1.setText("Page 1 of "+totalPages);
    if (nextpage==totalPages)
    nextButton.setEnabled(false);
    op1 =
    new NullOpImage(dec.decodeAsRenderedImage(nextpage-1),
    null,
    OpImage.OP_IO_BOUND,
    null);
    vector.addElement(op1);
    // ParameterBlock params = new ParameterBlock();
    // params.addSource(op1);
    // panel = new DisplayJAI(op1);
    panel = new DisplayJAI((RenderedImage)vector.elementAt(0));
    spane = new JScrollPane(panel);
    jPanel1.add(spane);
    jPanel1.validate();
    this.setVisible(true);
    catch(IOException dfs){
    } // while
    } // try
    catch(SQLException s){
    System.err.println("SQLException: " + s.getMessage());
    // Next Image
    void nextButton_actionPerformed(ActionEvent e) {
    try{
    if (spane != null)
    jPanel1.removeAll();
    ++nextpage;
    if (nextpage==totalPages)
    nextButton.setEnabled(false);
    previousButton.setEnabled(true);
    jLabel1.setText("Page " + nextpage +" of "+totalPages);
    TIFFDecodeParam param = null;
    dec = ImageCodec.createImageDecoder("tiff", seek, param);
    currentpage = nextpage;
    ParameterBlock paramblock = new ParameterBlock();
    paramblock.addSource(op1);
    vector.addElement(new NullOpImage(dec.decodeAsRenderedImage(nextpage-1),
    null,
    OpImage.OP_IO_BOUND,
    null));
    panel = new DisplayJAI((RenderedImage)vector.elementAt(currentpage-1));
    // panel = new DisplayJAI(op1);
    spane = new JScrollPane(panel);
    jPanel1.add(spane);
    setVisible(true);
    catch(IOException o){
    System.out.println(o);
    finally{
    // PreviousButton
    void previousButton_actionPerformed(ActionEvent e) {
    try{
    if (spane != null)
    jPanel1.removeAll();
    --nextpage;
    if (nextpage==1)
    previousButton.setEnabled(false);
    nextButton.setEnabled(true);
    jLabel1.setText("Page " + nextpage +" of "+totalPages);
    TIFFDecodeParam param = null;
    dec = ImageCodec.createImageDecoder("tiff", seek, param);
    currentpage = nextpage;
    vector.addElement(new NullOpImage(dec.decodeAsRenderedImage(nextpage-1),
    null,
    OpImage.OP_IO_BOUND,
    null));
    panel = new DisplayJAI((RenderedImage)vector.elementAt(currentpage-1));
    spane = new JScrollPane(panel);
    jPanel1.add(spane);
    setVisible(true);
    catch(IOException o){
    System.out.println(o);
    // Zoom ComboBox Item Select
    void jComboBox1_itemStateChanged(ItemEvent e) {
    if (e.getStateChange() == ItemEvent.DESELECTED)
    if (spane != null)
    jPanel1.removeAll();
    Interpolation interp = Interpolation.getInstance(Interpolation.INTERP_BICUBIC);
    ParameterBlock params = new ParameterBlock();
    params.addSource(op1);
    params.add(Float.valueOf(jComboBox1.getSelectedItem().toString()).floatValue()/100.0f);
    params.add(Float.valueOf(jComboBox1.getSelectedItem().toString()).floatValue()/100.0f);
    params.add(0.0F);
    params.add(0.0F);
    params.add(interp);
    // image2 = JAI.create("scale",params);
    vector.add(currentpage-1,JAI.create("scale",params));
    panel = new DisplayJAI((RenderedOp)vector.elementAt(currentpage-1));
    spane = new JScrollPane(panel);
    jPanel1.add(spane);
    jPanel1.validate();
    this.setVisible(true);
    repaint();
    // Rotate ComboBox Item Select
    void jComboBox2_itemStateChanged(ItemEvent e) {
    if (e.getStateChange() == ItemEvent.DESELECTED)
    if (spane != null)
    jPanel1.removeAll();
    type =null;
    type = transposeTypes[jComboBox2.getSelectedIndex()];
    ParameterBlock pb = new ParameterBlock();
    pb.addSource((RenderedImage)vector.elementAt(currentpage-1));
    pb.add(type);
    PlanarImage im2 = JAI.create("transpose", pb, renderHints);
    vector.add(currentpage-1,im2);
    panel = new DisplayJAI((RenderedOp)vector.elementAt(currentpage-1));
    spane = new JScrollPane(panel);
    jPanel1.add(spane);
    jPanel1.validate();
    this.setVisible(true);
    void printButton_actionPerformed(ActionEvent e) {
    print();
    protected void print() {
    PrinterJob pj = PrinterJob.getPrinterJob();
    pj.setPrintable(this);
    // PageFormat format = pj.pageDialog(pj.defaultPage());
    // Book bk = new Book();
    // bk.append(this,pj.defaultPage());
    // pj.setPageable(bk);
    if(pj.printDialog()){
    try{
    pj.print();
    catch(Exception e){
    System.out.println(e);
    else{
    System.out.println("Did Not Print Any Pages");
    public int print(Graphics g, PageFormat f, int pageIndex){
    if(pageIndex >= 1){
    return Printable.NO_SUCH_PAGE;
    Graphics2D g2d = (Graphics2D) g;
    g2d.translate(f.getImageableX(), f.getImageableY());
    if(op1 != null){
    double scales = Math.min(f.getImageableWidth()/ op1.getWidth(), f.getImageableHeight()/ op1.getHeight());
    g2d.scale(scales,scales);
    printImage(g2d, op1);
    return Printable.PAGE_EXISTS;
    else{
    return Printable.NO_SUCH_PAGE;
    public void printImage(Graphics2D g2d, RenderedImage image){
    if((image == null)|| (g2d == null)) return;
    int x = printLoc.x;
    int y = printLoc.y;
    AffineTransform at = new AffineTransform();
    at.translate(x,y);
    g2d.drawRenderedImage(image,at);
    public void setPrintLocation(Point d) {
    printLoc = d;
    public Point getPrintLocation() {
    return printLoc;

  • Problem displaying some pages since upgrade of leopard

    Hello everyone
    Is anyone experiencing difficulties after the new leopard upgrade.
    It all seemed to go well until I tried to read some of my pages. What is weird is that the pages are published and functionning well if accessed from the http..mydomain.com but if I try accessing using web.mac.... I can read some of the pages in the site others are 404.
    the ones that are accessible are all password protected the 404 ones are not.
    Any light would be appreciated.
    Thank you in advance
    Mireille

    Hello everyone,
    I am bumping this up because I really need to solve this problem and I am stumped I must be doing something dumb but I am not seeing it.
    I will give the real url so that you may suggest what I am doing wrong.
    if I type http://www.clubiweb.com/iweb/Accueil.html or even just clubiweb.com no problem everything on the site opens and works.
    but if I try to go through .mac
    http://web.mac.com/clubiweb1/iweb/Accueil.html I get a not found page and this for any page on the site except for those that are proctected by a password.
    they used to work before the update but that does not mean the update is responsible. I am using the same parameters as I did before
    What am I missing?
    does anyone see it please.
    Thank you
    Mireille

  • Dreamweaver CS 3 crashes opening PHP pages

    This just started happeing yesterday. I try to open php pages and Dreamweaver freezes up. It worked fine on Thursday. I tied re-installing yesterday. It worked for a while, then crashed again.
    Running on Windows 7. Have been using it on this computer for 2+ yrs with no problem.

    Just avoid having your Epson as the default.
    The solution, weird as it sounds, is to make a generic printer driver your default printer. If you don't have one, download it here:
    http://www.adobe.com/support/downloads/product.jsp?product=pdrv&platform=win
    All part of the fascinating world of Photoshop CS3.

  • Are there php differences from dreamweaver 8 to 11.5?

    I have just upgraded from dreamweaver 8 to 11.5.  I would call myself somewhat of a newbie with dreamweaver actually.
    The scripts I have been working on were existing and I have been making changes just fine with dreamweaver 8.  Now that I
    have upgraded, it seems that all the pages are pretty much broken.  The inital html page works ok, but once it tries to run the
    php code and create the dynamic page, I get what looks like my php code being displayed on the page.  Is there somewhere
    to go read about changes that might be needed when migrating from dreamweaver 8 to dreamweaver 11.5?
    Thanks!
    Patty

    Which part isn't true?
    1. I created a new php page in Dreamweaver CS5.5
    2. I created two new recordsets
         a. Here is the code:
    newFindCommand('CATEGORY'); $Section_findCriterions = array('cat_ID'=>'*',); foreach($Section_findCriterions as $key=>$value) { $Section_find->AddFindCriterion($key,$value); } $Item_find = $Rani->newFindCommand('ITEM'); $Item_findCriterions = array('cat_ID'=>'=='.fmsEscape($_REQUEST['cat_ID']),); foreach($Item_findCriterions as $key=>$value) { $Item_find->AddFindCriterion($key,$value); } fmsSetPage($found_records_find,'found_records',10); fmsSetPage($Section_find,'Section',10); fmsSetPage($Item_find,'Item',10); fmsSetPage($Sections_find,'Sections',10); $Item_result = $Item_find->execute(); $Section_result = $Section_find->execute(); if(FileMaker::isError($found_records_result)) fmsTrapError($found_records_result,"error.php"); if(FileMaker::isError($Section_result)) fmsTrapError($Section_result,"error.php"); if(FileMaker::isError($Item_result)) fmsTrapError($Item_result,"error.php"); if(FileMaker::isError($Sections_result)) fmsTrapError($Sections_result,"error.php"); fmsSetLastPage($found_records_result,'found_records',10); fmsSetLastPage($Section_result,'Section',10); fmsSetLastPage($Item_result,'Item',10); fmsSetLastPage($Sections_result,'Sections',10); $Item_row = current($Item_result->getRecords()); $Section_row = current($Section_result->getRecords()); $found_records_row = current($found_records_result->getRecords()); // FMStudio Pro - do not remove comment, needed for DreamWeaver support ?>     getRecords() as $Section_row){ ?>
    Section
    getField('name'); ?>
    3. I uploaded the file and tried to preview. a. Here is the error message: Parse error: syntax error, unexpected T_VARIABLE in /home8/thrpsdes/public_html/rani2011/Testing.php on line 1 4. I went to the remote server and downloaded the page. a. here is the code: newFindCommand('CATEGORY');$Section_findCriterions = array('cat_ID'=>'*',);foreach($Section_findCriterions as $key=>$value) { $Section_find->AddFindCriterion($key,$value);}$Item_find = $Rani->newFindCommand('ITEM');$Item_findCriterions = array('cat_ID'=>'=='.fmsEscape($_REQUEST['cat_ID']),);foreach($Item_findCriterions as $key=>$value) { $Item_find->AddFindCriterion($key,$value);}fmsSetPage($found_records_find,'found_records' ,10); fmsSetPage($Section_find,'Section',10); fmsSetPage($Item_find,'Item',10); fmsSetPage($Sections_find,'Sections',10); $Item_result = $Item_find->execute(); $Section_result = $Section_find->execute(); if(FileMaker::isError($found_records_result)) fmsTrapError($found_records_result,"error.php"); if(FileMaker::isError($Section_result)) fmsTrapError($Section_result,"error.php"); if(FileMaker::isError($Item_result)) fmsTrapError($Item_result,"error.php"); if(FileMaker::isError($Sections_result)) fmsTrapError($Sections_result,"error.php"); fmsSetLastPage($found_records_result,'found_records',10); fmsSetLastPage($Section_result,'Section',10); fmsSetLastPage($Item_result,'Item',10); fmsSetLastPage($Sections_result,'Sections',10); $Item_row = current($Item_result->getRecords()); $Section_row = current($Section_result->getRecords()); $found_records_row = current($found_records_result->getRecords()); // FMStudio Pro - do not remove comment, needed for DreamWeaver support ?>getRecords() as $Section_row){ ?>
    Section
    getField('name'); ?>
    So what isn't true?
    John Vellela
    3rd Planet Studio
    358 Chestnut Hill Ave
    Suite 204b
    Brighton, MA 02135
    617.739.2306 fax: 617.566.3141
    www.3rdplanetstudio.com

  • Problem uploading PHP files [was: PHP files]

    I am having a problem uploading PHP files from Dreamweaver to my file manager on my web host.
    [Subject line edited by moderator to make meaning clearer. Thread also moved to the Dreamweaver Application Development forum]

    I see this is your first post. Welcome.
    Please take a few minutes to read How to get help quickly. Also post in the correct forum. The Dreamweaver General Discussion forum is for questions about DW in general, CSS, and design problems. Questions about PHP and server-side issues should go in the Dreamweaver Application Development forum.
    It's very hard to give you any help, because the information you have given is so sparse. The only advice I can give is to check that you have set up the Remote Server details correctly in the Site Definition dialog box. See http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSBE25912D-A9DE-4ba1-9F85-4C692F5C14ADa .html.

  • Footer displayed inaccurately in Dreamweaver CS4 php page

    Hi,
    I recently upgraded from Dreamweaver 8 to Dreamweaver CS4. Our organization site uses mostly php pages. When I attempt to open these pages in Dreamweaver CS4 the footer menu bar displays innacurately down through the center of the page and won't allow any edits as it acts like a top layer or something. Usually it acts as a menu bar on the top of any page on our website.
    As it should appear from an online screen shot: You'll notice the orange menu bar across the top.
    A shot of the Design View in Dreamweaver CS4:  You'll see the menu options are running down the center of the page as text.
    This is the code : Can also be visited at www.axisdance.org
        <div id="footer">AXIS Dance Company &middot; 1428 Alice Street, Suite 200 &middot; Oakland, CA 94612<br />
            Phone: 510-625-0110 &middot; Fax: 510-625-0321
        </div><!--end footer-->
        <div id="navBar"><!--<a name="navigation" class="minimize"> </a><br />-->
            <!-- begin list for menu-->
            <ul id="udm" class="udm">
                <li><h2><a href="index.php">home</a></h2>
                </li>
                <li><h2><a href="about.php">about us</a></h2>
                    <ul>
                    <li><a href="about.php">About AXIS</a></li>
                    <li><a href="about_news.php">News</a></li>
                    <li><a href="about_mediaKit.php">Media Kit</a></li>
                    <li><a href="about_dancers.php">Dancers</a></li>
                    <li><a href="about_staff.php">Board & Staff</a></li>
                    <li><a href="about_jobs.php">Jobs & Auditions</a>
                    <ul>
                        <li><a href="about_internships.php">Internships</a></li>
                        </ul>
                    <li><a href="about_faq.php">FAQ</a></li>
                    <li><a href="about_contact.php">Contact Us</a>
                        <ul>
                        <li><a href="about_contact_directions.php">Directions</a></li>
                        </ul>                   
                    </li>
                    </ul>
                </li>
                <li><h2><a href="performance.php">performances</a></h2>
                    <ul>
                    <li><a href="performance.php">Performance Calendar</a></li>
                    <li><a href="performance_repertory.php">Repertory Clips </a></li>
                    <li><a href="performance_gallery.php">Image Gallery</a></li>
                    <li><a href="performance_reviews.php">Reviews</a></li>
                    <li><a href="performance_booking.php">Booking AXIS</a></li>
                    <li><a href="performance_collaboration.php">Collaborating Artists</a></li>
                    </ul>
                </li>
                <li><h2><a href="education.php">education</a></h2>
                    <ul>
                    <li><a href="education.php">About Education </a></li>
                    <ul>
                        <li><a href="kids.php">Dance Access/KIDS!</a></li>
                        <li><a href="Adults.php">Dance Access (Adults)</a></li>
                        </ul>
                    <li><a href="education_danceAccess.php">Class Schedule</a></li>
                    <li><a href="education_hiring.php">Booking Dance Access</a></li>
                    <li><a href="education_summerIntensive.php">Summer Intensive</a></li>
                    <li><a href="education_resources.php">Resources</a>
                        <ul>
                        <li><a href="education_resources_videos.php">Media</a></li>
                        <li><a href="education_resources_articles.php">Essays & Articles</a></li>
                        <li><a href="assets/teachersGuide.pdf">Teacher's Guide (PDF)</a></li>
                        </ul>                   
                    </li>
                    <li><a href="education_likeUs.php">Companies Like Us</a></li>
                    </ul>
                </li>       
                <li><h2><a href="support.php"> support </a></h2>
                    <ul>
                    <li> <a href="support.php"> Ways to Support</a></li>
                    <li><a href="support_volunteering.php">Volunteering</a></li>                   
                    <li><a href="support_mailingList.php">Join Mailing List</a></li>                   
                    <li><a href="support_store.php">AXIS Store</a></li>                   
                    <li><a href="support_funders.php">Funders &amp; Donors </a></li>                   
                    <li><a href="support_webSupporters.php">Web Supporters</a></li>                   
                    </ul>
                </li>
            </ul>
            <img src="images/shim.gif" width="800" height="1" border="0" alt="navigation bar" /><br />
        </div><!--end navbar-->
    </div><!--end center-->
    <div id="copy">
        <div id="right">&copy; 1999-2010. AXIS Dance Company  <br>
            <a href="http://www.facebook.com/pages/AXIS-Dance-Company/56899952604?ref=ts" target="_blank"></a> <a href="http://www.youtube.com/user/AXISDanceComp" target="_blank"></a> <a href="http://www.axisdance.org/support_mailingList.php" target="_blank"></a><br />
        </div>
        <div id="powered"> </div>
        <div class="clear"> </div>
    </div><!--end copy-->
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-10598516-1");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    </body>
    </html>
    This seems like a simple solution but I'm just not sure what it would be.
    Thanks

    The live view or preview functions do not work and lead to the error: "Not Found, the requested URL/html/index.php was not found on this server.'   This is another issue that I don't understand.
    Unfortunately, I did not develop this website and have a minimal knowledge of html and Dreamweaver.  I'm not sure if I can answer the question about which menu system we're using - would seeing the code of the footer help?   I'll paste below in case.  
    And just to be clear, the problem only occurs in editing in Dreamweaver, but when uploaded to our server it appears correctly.
    Thanks for your help!
        <div id="footer">AXIS Dance Company &middot; 1428 Alice Street, Suite 200 &middot; Oakland, CA 94612<br />
            Phone: 510-625-0110 &middot; Fax: 510-625-0321
        </div><!--end footer-->
        <div id="navBar"><!--<a name="navigation" class="minimize"> </a><br />-->
            <!-- begin list for menu-->
            <ul id="udm" class="udm">
                <li><h2><a href="index.php">home</a></h2>
                </li>
                <li><h2><a href="about.php">about us</a></h2>
                    <ul>
                    <li><a href="about.php">About AXIS</a></li>
                    <li><a href="about_news.php">News</a></li>
                    <li><a href="about_mediaKit.php">Media Kit</a></li>
                    <li><a href="about_dancers.php">Dancers</a></li>
                    <li><a href="about_staff.php">Board & Staff</a></li>
                    <li><a href="about_jobs.php">Jobs & Auditions</a>
                    <ul>
                        <li><a href="about_internships.php">Internships</a></li>
                        </ul>
                    <li><a href="about_faq.php">FAQ</a></li>
                    <li><a href="about_contact.php">Contact Us</a>
                        <ul>
                        <li><a href="about_contact_directions.php">Directions</a></li>
                        </ul>                   
                    </li>
                    </ul>
                </li>
                <li><h2><a href="performance.php">performances</a></h2>
                    <ul>
                    <li><a href="performance.php">Performance Calendar</a></li>
                    <li><a href="performance_repertory.php">Repertory Clips </a></li>
                    <li><a href="performance_gallery.php">Image Gallery</a></li>
                    <li><a href="performance_reviews.php">Reviews</a></li>
                    <li><a href="performance_booking.php">Booking AXIS</a></li>
                    <li><a href="performance_collaboration.php">Collaborating Artists</a></li>
                    </ul>
                </li>
                <li><h2><a href="education.php">education</a></h2>
                    <ul>
                    <li><a href="education.php">About Education </a></li>
                    <ul>
                        <li><a href="kids.php">Dance Access/KIDS!</a></li>
                        <li><a href="Adults.php">Dance Access (Adults)</a></li>
                        </ul>
                    <li><a href="education_danceAccess.php">Class Schedule</a></li>
                    <li><a href="education_hiring.php">Booking Dance Access</a></li>
                    <li><a href="education_summerIntensive.php">Summer Intensive</a></li>
                    <li><a href="education_resources.php">Resources</a>
                        <ul>
                        <li><a href="education_resources_videos.php">Media</a></li>
                        <li><a href="education_resources_articles.php">Essays & Articles</a></li>
                        <li><a href="assets/teachersGuide.pdf">Teacher's Guide (PDF)</a></li>
                        </ul>                   
                    </li>
                    <li><a href="education_likeUs.php">Companies Like Us</a></li>
                    </ul>
                </li>       
                <li><h2><a href="support.php"> support </a></h2>
                    <ul>
                    <li> <a href="support.php"> Ways to Support</a></li>
                    <li><a href="support_volunteering.php">Volunteering</a></li>                   
                    <li><a href="support_mailingList.php">Join Mailing List</a></li>                   
                    <li><a href="support_store.php">AXIS Store</a></li>                   
                    <li><a href="support_funders.php">Funders &amp; Donors </a></li>                   
                    <li><a href="support_webSupporters.php">Web Supporters</a></li>                   
                    </ul>
                </li>
            </ul>
            <img src="images/shim.gif" width="800" height="1" border="0" alt="navigation bar" /><br />
        </div><!--end navbar-->
    </div><!--end center-->
    <div id="copy">
        <div id="right">&copy; 1999-2010. AXIS Dance Company  <br>
            <a href="http://www.facebook.com/pages/AXIS-Dance-Company/56899952604?ref=ts" target="_blank"></a> <a href="http://www.youtube.com/user/AXISDanceComp" target="_blank"></a> <a href="http://www.axisdance.org/support_mailingList.php" target="_blank"></a><br />
        </div>
        <div id="powered"> </div>
        <div class="clear"> </div>
    </div><!--end copy-->
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-10598516-1");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    </body>
    </html>

  • Problem with display of pages in IE

    I'll keep this short and simple, I'm not after criticism of my work but if it is a mess then I understand, I've re-coded a website designed by a friend who has joined the army & is currently serving so I cannot get in touch with him for help, I'm a novice website designer but I'm stumped as to why my pages are behaving the way they are
    I've made a website for a friend's pub and it all looked brilliant in DreamWeaver CS5's Design View so I went ahead and used ftp program FileZilla to send it live on my domain and basically it shifted my pictures and it displays differently in IE to what it does in Chrome e.g. My "Find Us" page has a large white bar at the bottom in IE which shouldn't be there and I can't get rid of it, but it doesn't show in chrome?
    Any help or code I may be able to implement would be greatly appreciated, thanks Freecey.
    Edit: Forgot to add the link to my site - www.thelightdragoon.co.uk
    Also I am aware of the problems with the Home Page & the Menu Page but I am yet to attempt to fix those yet.

    You still have a problem on that page.
    <head>
    <meta name="generator" content="HTML Tidy for Linux (vers 25 March 2009), see www.w3.org" /><object type="{0C55C096-0F1D-4F28-AAA2-85EF591126E7}" id="cosymantecbfw" class="c1"></object>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    Note that you STILL have an <object> tag within the head region.  That's invalid.
    Also, you are using absolute positioning to place elements within your header region - that's definitely suboptimal and unnecessary since it precludes centering the page in various width viewports.  However, if you make the following changes you can muddle by -
    1.  Change the CSS for #outerShadow to set the left/right margins to "auto".  Make it position:relative.
    2.  Change the left values for the absolutely positioned elements to whatever you need for them to be correctly located within #outerShadow.
    3.  Twiddle the remaining out of place element margins to locate them correctly within #outerShadow.
    That should do it.  But the real way to build this page is without using absolute positioning at all.  It's not necessary and will always make your maintenance more complicated as long as you have it.

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

  • Why does Firefox no longer display .php suffix web pages which are in my Mac?

    I have a question about Firefox 14.0.1 displaying .php suffix web page files which are in a Mac running Mountain Lion OS 10.8. In eaarlier versions of Mac OS, for example 10.4.7, I was able to see properly displayed web page files with .html and .php suffixes when those web page files were in my computer. I refer to seeing the page as it should properly display, not seeing the source code. If a page had a .php suffix, the browser displayed the page properly although any php scripts embedded in that page were ignored.
    Apple occasionallly updated its OS and browser makers occasionally updated browsers. One day, I noticed that Safari no longer displayed web page files in my Mac if those pages had a .php suffix. However, Firefox and other browsers continued to display web page files with .php suffixes although the embedded php scripts were ignored.
    Now, I have Mountain Lion in iMac.
    I can no longer see .php suffix web page files in my computer regarless of the browser I use. No browser displays those pages.
    A .php suffix web page file which Firefox and other browsers display in 10.4.7 does not display in 10.8 if that web page file is in the computer.
    In my computer, I have html and php suffix web page files I want to see using a browser. The files I want to see and the browser both are in my computer. Html files display perfectly with one exception: if php scripts are embedded in the html files, the scripts are ignored. A file the name of which ends with ".php" will not be displayed regardless of whether there is a php script in the file. Safari displays the source code only. Chrome does not display the file at all. Firefox and SeaMonkey, which displayed .php suffix web page files in earlier versions of the Mac OSm now respond to such pages by providing a dialog box which seems to assume that the file is about to be downloaded from the Internet. The dialog box asks me if I want to use the browser to open the file or if I want to save it to disk. The file is on the disk at the time, and the computer is disconnected from the Internet. I click that I want to use the browser to open the file. Then the dialong box reopens with the same question. This happens over and over. I never get to see a web page file in my computer the name of which ends with ".php". With Firefox 14.0.1, I can see .php suffix web pages which are on the Internet or in a 10.4.7 Mac but not in a 10.8 Mac. Did I miconfigure Firefox? It seems unlikely that Firefox lost the ability to display pages in Mac OS 10.8 which it displays in `10.4.7. How can I solve this web page display problem?

    Haroon mentions two solutions. I used the easier one, which is to start the Apache webserver already in Mountain Lion and to enable the php already in Mountain Lion. It worked. I see the file correctly displayed with html, css, and php. I see the page by using Firefox. I enter an address in the address bar. For example, the address might be "localhost/example/example.php". I cannot see the page by using Firefox's "Open File ..." menu option or by dragging the file's icon onto Firefox's icon. I tried using your solution also but was unable to find the specific preference to modify. I found the page of preferences which may be modified but I could not find the one I need. I found a list of descriptions of the preferences at http://kb.mozillazine.org/Firefox_:_FAQs_:_About:config_Entries
    but I could not find the specific preference which I need.
    By the way, to enable loading the php module, one uncomments a line of code by deleting the initial "#" character, and one does that by pressing control key and "P" key while the cursor is over the "#" character.
    Also by the way, when I use Firefox or Safari to look at the Apache web directory in which my files are, the files are listed case sensitively. For example, the files are listed: Ace, Zygote, bar. This is because lower case follows upper case. THis annoys me. I prefer case insensitive listing. When I llok directly athe directory without using a browser, the files are listed case insensitively. For example, they are listed: Ace, bar, Zygote. I guess taht Apache is doing this.

Maybe you are looking for

  • Windows 7 126 error after itunes install, why?

    ITunes runs well, however I get a windows 7 126 error. I don't know how to repair it. I've unintalled all the Apple files and reinstalled several times to no avail. please help and thanks in advance!

  • Exception message 20  vs ATP

    Hi all         There are some stock transport purcahse orders availble for one material with exception message 20 in MD04. The exception message 20 means cancel the process. So is there any affect on ATP check. Could you please confirm. regards sap

  • Actually i have one doubt in message class

    Actually i have one doubt in message class. I want create message for following logic. If the records already exits in database table , whatever  input i will given in input fields like  entry type and material no ,it will need in message. i want ris

  • Erased iphone 4 - will not activate

    Hi, Got an iphone 4 from my daughter in-law. She had not erased her data, so I did an update iphone via itunes, but did not realise I needed to turn off the 'find my iphone' feature. Now I am trying to activate the phone but I get the message 'This i

  • Webi Alternate Row Colour

    Hi experts, I have a webi report which colour lines must have alternate colours. I customized that on the table proporties, in webi, but it's not working... is there some kind of trick to activate alternate row colours? Thanks you. Cheers! Inê