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

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!

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.