Raised This Month: $ Target: $400
 0% 

function for safe filenames?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
sluggo
Member
Join Date: May 2006
Old 01-21-2007 , 23:17   Re: function for safe filenames?
Reply With Quote #6

Hi, again.
Don't know if I have stumbled onto a bug? :s

The replace_all works... sort of.
When I try to replace | <'more' in unix i believe the character is> it works ok.
When I try double || after eachother it works.
But the other day I was recording a guy with the nick "Ban |Vle p|Z !" = " Ban Me plZ ! " then it refused to record the demo.

I figured out that if i used the nick "| | !" it would not record but if i used "| |" it recorded. Well, when i say it didn't record I really mean it didn't create the file.
So... I'm lost here, why didn't replace_all work?
According to my code above with the corrections from Black Rose.

I'll try jim_yang's way to see if that solves it.
sluggo is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode