Jump to content

kingpin393

New Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by kingpin393

  1. I have done that - still nothing... When I do "pear list" it is shown as installed.
  2. i was thinking either that or xml... not sure how to do either..
  3. Hi I have a list of files in an array: /dir1/file.txt /dir2/dir3/file.txt /file.txt ... I want to create a tree list from that: -dir1 -file.txt -dir2 -dir3 -file.txt -file.txt ... How could I go about this? (in the original array I know what items are files and which are directories if that helps...) Thanks, Kevin
  4. Hi, I am trying to get the PEAR component VersionControl_SVN to work... PHP is installed fine and there was no problem installing it with the pear installer but when I run the first sample script at: http://pear.php.net/manual/en/package.tools.versioncontrol-svn.php I get nothing, no results or anything. Other PEAR components work fine... Any help? Kevin
  5. I am pretty sure I figured it out. When saving to xml I let the symbols get encoded to ™ or ° etc. Then when I read the xml it auto decoded the &'s to be & and when echoing to the browser the symbols showed up correctly. Kevin
  6. Hi, I am pulling data from flat text files and converting them into XML files using DOM. My problem seems to be with encoding. A lot of the flat text files have trademark symbols, degree signs, sup characters etc. When trying to add these to nodes in XML it seems to cause a problem. I understand this is because XML doesn't like these characters. I am trying to convert them using htmlentities() so that trademarks become ™ etc... The problem is when it saves them to xml it looks like ™ - it seems when the file is saved it encodes it again. I imagine this is a common issue but I could find no real help by googling it, maybe I am searching the wrong thing... Any help is appreciated. Thanks,
×
×
  • 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.