PHP-gurus: I need your help!

Out of context: Reply #10

  • Started
  • Last post
  • 22 Responses
  • schjetne0

    I read your entire post, and didn't understand anything of it. Hm... This php stuff is hard. I'll try some more. I basically need a quick thing, and I need it done by tomorrow, so if I don't manage to make it myself, I'll just use yours.

    Is it possible in php to strip all prefixes from the output? Right now, I use

    str_replace(array('_', '.html', '.gif', '.jpg', '.swf')," ",$file)

    But that doesn't strip .php, .txt, etc etc...

View thread