Re: [PHP] replacing all non [a-z] chars possible?

2002-03-17 Thread mnc
I don't agree. First of all, picture search engines don't use filenames, they use ALT attributes and surrounding text. Secondly, you can still make the images available using both the database ID and a urlencoded version of the original filename: http://myserver.org/fetchimage.php/33445/gubers

Re: [PHP] replacing all non [a-z] chars possible?

2002-03-17 Thread Michael Sims
At 02:31 PM 3/17/2002 +0100, andy wrote: >Hi there, > >I am wondering if it would be possible to replace all chars which are not >inbetween [a-z] with a valid asccii coresponding to it. I have a db with a >bunch of citynames and I would like to create valid filenames out of those. >The prob is, th

Re: [PHP] replacing all non [a-z] chars possible?

2002-03-17 Thread andy
I don't agree. Under this circumstances no picture search engine is gonna find this file. Thats why I am rewriting this module. Thanx anyway. Andy "Bvr" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > A good solution is to store the file under a rand

Re: [PHP] replacing all non [a-z] chars possible?

2002-03-17 Thread bvr
A good solution is to store the file under a random generated filename and store that name, together with the real name, to the database. bvr. andy wrote: >Hi there, > >I am wondering if it would be possible to replace all chars which are not >inbetween [a-z] with a valid asccii coresponding

[PHP] replacing all non [a-z] chars possible?

2002-03-17 Thread andy
Hi there, I am wondering if it would be possible to replace all chars which are not inbetween [a-z] with a valid asccii coresponding to it. I have a db with a bunch of citynames and I would like to create valid filenames out of those. The prob is, that I do not know all special chars. For example