Jump to content

XP running Apache


Indesign

Recommended Posts

:oops: Hi there!

 

I have recently tried to install the latest version of apache on Win XP, but it did not like it, so I reverted to Apache 1.3x no problems, with the install.

 

I also had the same problem with the latest version of PHP, so I performed a similar action and reverted to an earlier version. I now think that both are installed...well nearly correct!

 

I have designed some PHP pages using Dreamweaver for the client side GUI. When I test these pages locally, or run them on Apache via a local network the page appears correctly (as seen in the Dreamweaver IDE) but have an unwanted line of code at the top of each page (\"; ?>). This code is placed outside of the page border, can be highlighted but not edited. What has caused this problem, is it a installation fault or dreamweaver code fault??

 

Please help!

Link to comment
Share on other sites

In Dreamweaver go to the code viewing, and find out where this is. When you find it if you cannot delete it add this to the beginning <? , since ?> is the ending of php as you know this could be the ending of a php section, plz message back with a bit more info...

 

 

-hope this helps,

Mark

Link to comment
Share on other sites

Hi MArk,thaks for the reply.

 

I have already viewed the code looking for syntax errors, the code seems to be ok, although I found that if I delete the following code, which is placed at the top of the source code, the error disapears.

 

<?php echo \"<?xml version=\"1.0\" encoding=\"iso-8859-1\"?\".\">\"; ?>

<!DOCTYPE html (View Source for full doctype...)>

 

From this you can see the code that is being shown. If I delete all of this will there be other side effects that are not shown at present?

 

Thanks fr your help mate! :?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.