Jump to content

Splitti

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Everything posted by Splitti

  1. You guys need more info, could really use some help on this one
  2. well you can in a Link write: <a href="http://www.yoursite.com/index.php?target=logo1">Link name</a> then the url will show http://www.yoursite.com/index.php?target=logo1 and that you can extract with a $_GET['target']; and if you: echo $_GET['target']; it will show "logo1"
  3. Well havent thought it trough proberly, you right not sure if you can use sessions across diffendt servers. Maybe log there ip-adress and last visit into a DB and through there see where the user have been last and out from that show the corect logo ?!
  4. Hmm you said you have tyed Cookies, what about sessions ??
  5. Okay, heres my index.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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> </head> <body> <? include 'www/indhold.php'; <--------- On this page dosent the doctype work. ?> </body> </html> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- here is the included file. that dont show the danish charecters ÆØÅ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- <div> Some text with ÆØÅ danish charrecter æøå </div> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  6. Yes i know that i cant dump html into a php code, but that is not the poblem. My problem is that the doctype works on my index page but if i include 'something.php'; into my index page, then the doctype dont work on the included page. My index.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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> </head> <body> <? include 'www/indhold.php'; <--------- On this page dosent the doctype work. ?> </body> </html> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- why is that ?? and what can i do ??
  7. Hi all This is my first post on this forum, so i hope i follow the rules proberly Well i got this index.php where i got a Doctype in it : ( <!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" /> ) and here is my problem, when i include another php file then the doctype dont work on that php file, (The doctype should show the Danish charecters, ÆØÅ - æøå and it dont, after a include.) why is that ?? and what can i do ??
×
×
  • 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.