Jump to content

[SOLVED] strange chars using $_SERVER['DOCUMENT_ROOT']


sixthday

Recommended Posts

Hi,

I have to change a site I made and I want to include a footer with the include command.

It's placed in my root dir on the server.

<?include($_SERVER['DOCUMENT_ROOT']."/foo.bar");?>

The content (only a few lines in html) is appearing as it should, but with an unwanted addition:

The two chars "»¿" are appearing right in front of the included text....

If I do not transform spectial characters (i.e german ä,Ü an so on) into html code (ä) these chars also appear wired although I set charset=ISO-8859-1 in my main dcument (calling the include function)...

 

Hope you can help me out!

THX

Link to comment
Share on other sites

Ohh yes, this worked!

 

Actually I edited the document in dreamweaver... I saved it with the editor for now beacause I don't know how to change the settings in dreamwiever (I've found the option in the preferences but there is no ASCII or ANSI I could select, maybe you can give me a hint :)

 

Anyway thanks!

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.