RE: String with front slashes.....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[snip]
I'd say it would be best to keep that slash out of the filename.  Do a 
regex on the string before doing anything else....

preg_replace ( "/\//", "-", $string );
[/snip]

That is what I ultimately told them, "Don't do that." Of course they
looked at me like I was a space alien (which I am today, but that's not
important now). I asked if they wanted to know the technical bits to
which they all vigorously shook their heads. But I will check the
strings and *ahem* 'fix' them just in case.

BTW, my daughter got her learner's permit today!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux