Hi there,
I just wrote a PHP Upload Image script, and I am afraid newbies will visit my site to use it, and have image names like "this is me at niagara falls.jpg"
If an image name has spaces in it, that means bad news for me and using the getimagesize php command.
So now I ask, what is the PHP command to convert spaces in a string to %20 for inputting it into my database?
I.E: I want to convert "hello this is me.jpg" to "hello%20this%20is%20me.jpg"
Thanks.
-influx