Raised This Month: $ Target: $400
 0% 

function for safe filenames?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 10-22-2006 , 05:35   Re: function for safe filenames?
Reply With Quote #3

Quote:
Originally Posted by sluggo
Code:
replace_all(string,32,"^"","_")
It will work


Code:
//  replace_all(string,32,"^","_")
-->
Code:
replace_all(string,32,"^^","_")


Quote:
Originally Posted by sluggo
PHP Code:
replace_all(string,32,"\","_") // this one looks different in the compiler (the _ is blue instead of red... something is wrong? 
I assume you mean amxx studio. Nothing is wrong.

Last edited by [ --<-@ ] Black Rose; 10-22-2006 at 05:41.
[ --<-@ ] Black Rose 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 04:54.


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