how can i replace æ, ø and å with the corresponding HTML values on a whole page?with PHP

jules

Apocs: Look at htmlentities()

Stormchaser

Jymmm: *poke*

Fushuing2

POKE!

Apocs

tnx jules

budo

hi guys. i have a simple article system thats using id to identify its pages. can anybody teach me how i can make a title only/relevant search script.

zircu

ugly like: http://php30.zirzow.dyndns.org/phpinfo.php?

budo

or maybe point me to where i can find such script

Stormchaser

zircu: Ew. Kill the designer, please.

Vyker

hi, does anyone know off hand which encoding supports &pound in xml? or even £ itself ?

aush

hey, i have a question about phpbb sort of

budo

anyone?

aush

how would i put a login / registration panel on a seperate page one dir upfor example

Stormchaser

Vyker: htmlentities?

aush

in index.php in webroot i want login + registration stuffand phpbb is in webroot/forumsany ideas?

Stormchaser

no, we don't support any of that stuff...

Vyker

Stormchaser, yeah that changes £ to £ but when i view it in an xml file in IE, i get an error at that piont.

\zxc

"Cannot instantiate non-existent class: mysqli" -- How do I enable this on a linux box?

Jayinwww

hello

Stormchaser

Vyker: Then blame IE

zircu

\zxc: build php with mysqli

\zxc

bleh, it's a plesk box.I have root, but if I touch it I'm likely to break plesk.

Vyker

Stormchaser, haha, same problem with FF too, do you know any speical encoding i should specify in xml decleration to show these special characters? or any links?

Stormchaser

Vyker: Why don't you convert the charset in UTF-8?

Jymmm

ASCII RULES!

zircu

*for dos

Jymmm

for everything!

Stormchaser

Jymmm: lith is asking why was he banned... I have no log for april 6th... Any idea, what happend?

zircu

well, my /lastlog shows he was here within the last 24 hours

Sn3f3ru

Hi; if anyone uses Eclipse/phpeclipse for coding, one question: how can I make a portion of the code to fold (if it's not folded by default)?

Stormchaser

humah, I see it... Jymmm banned bit more than needed...

zircu

acually, 21:03 UTC today is when he left i dont see any ban from when he joined to quithmm.. my clock is all messed up on this machine

strixy

hell everyoneerr. hello everyoneI was wondering if anyone had any suggestions on how to record a users IP address (into mysql).

MarkR

There are two ways normally, either convert it into an integer and store it thereOr just store it as a string in dotted notationthe latter is more obvious for human-readable reporting, the former better for doing things like looking up in IP range databases

Stormchaser

I swear I'm going to make an IP factoid...!+ipheh...

lig

Morning

Stormchaser

heya, lig

Tarantulafudge

I have a huge problem, I'm evaluating seperate sections of php from a page and using a function that automatically wraps ob_start(); and clean, but for some reason these sections cannot interact and share variables, any clues?

lig

Hey darlin' Stormchaser

strixy

Tarantula, is it possible to combine the pages and use steps (case) instead?

Tarantulafudge

strixy: well I'm grabbing the php elements from a page using a regex

strixy

MarkR - is there a getip() function in php? I've searched, but can't ifnd one

hi there Anyone know how I might use borders to show which page you are on via a nav system that is called externally via php include?

Stormchaser

what?

philovirus

sorry not well worded.

strixy

philovirus, you talking CSS - now that I can help with!

philovirus

I've got a css based nav system that shows a border based on a class tag. I'd like to have that nav menu be called via an include. however doing that breaks the class tag method I'd been using.

Stormchaser

yes, but not here.#css, please.

philovirus

yeah css is dead at the moment but I'm fairly certain it's the php include I need to work on.

Stormchaser

Jymmm: Are you here?

strixy

philovirusm i'll pop into #css

philovirus

thanks :D

Silliman

philovirus, if you include how can that break the class?

philovirus

the nav.php file is simple html but I'd like to have the css underscore the current page. using straight css I can just make each page have the nav bar inside with the correct link using the class tag to do that.With it external in it's own file the nav.php doesn't allow me to do it that way.

Silliman

philovirus, if you do something like if($page == $_SERVER['PHP_SELF']} echo 'class="highligted"';

aimaz

what is a good DB abstraction library in case i want to change database later?