Stg wrote:
> Thanks a lot for that, I am really grateful, now it sends along the link
> properly, which is great, however it is now having trouble converting spaces
> to %20 and it does it for some and not others, eg
>
> It does this:
> http://localhost/knewsl/NewsletterName.pdf
>
> When it should be:
> http://localhost/knewsl/Newsletter%20Name.pdf
>
...

urlencode()

http://php.net/manual/en/function.urlencode.php

--
Teach a man to fish...

NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to