Announcement

Collapse
No announcement yet.

dirname output

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • dirname output

    Well, I'm a bit a PHP newbie. However, if I want an output of dirname() on a windows system it only prints the path without / or \. The output looks sth like this:

    l: apache groupapachehtdocsportal

    What could cause this? Or is that dirname default? I didn't get the answer when browsing the manual on php.net
    Ueli

  • #2
    Try escaping the slashes with addslashes()..

    Comment


    • #3
      Thnx. That did the trick.
      Ueli

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X