DW PHP Rewrite Shite
- Started
- Last post
- 9 Responses
- ********
Even though I asked DW not to "Encode" my URL's with percent signs, it still insists on it.
What gives?
- tfs__mag0
i dunno... i have it set not to encode and it works fine for me. which version is it?
- ********0
MX(V6)
I've got php in the image src, in a template. When it updates "correct" pages, it fucks them up...
- sparker0
why do you want to disable html encoding? it is the correct way to use urls.
spaces are bad in url syntax...
- ********0
because I'm using echo to display the image name before ".jpg"
After it's processed - there will be no spaces...
- mirola0
throw it in the bin
- sparker0
oh, i see. you could use a regular expression to alter the file name for display, without actually altering the physical name.
- ********0
you've lost me sparky...
I'm still fairly new to php.
- sparker0
it's just a way, roughly, to alter file names, strings, data, etc...within the code without altering the original, physically.
so, if your file name is myphoto.jpg...the expression would alter the string to something like "my photo"...but the name would remain the same.
it allows you full control over strings, uri's, etc without losing data integrity...
just have a look at the the site mirola linked...and read up on regular expressions in php...