Forum Moderators: coopster

Message Too Old, No Replies

Erratic behavior of PHP functions?

         

zulubanshee

6:35 pm on Aug 21, 2008 (gmt 0)

10+ Year Member



I'm writing some xml feeds and i have to change or delete special characters like & and > and all html. I am using specialhtmlchars() and preg_replace and strip_tags. Now the weird thing is they work for days, but if i have to edit the file elsewhere, one or all stop working for reasons I cannot fathom.

Am I insane? Does anyone else have this problem? Am I being careless about something? If i'm insane go ahead and tell me. I can take it :)

PS, this isn't only these functions, it is a long standing problem in general.

zulubanshee

7:09 pm on Aug 21, 2008 (gmt 0)

10+ Year Member



ok well i got up and walked away from it and now it's working, and I haven't done anything. I just don't know.