FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » decode encoded url
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: decode encoded url [message #178697 is a reply to message #178689] Tue, 17 July 2012 15:41 Go to previous messageGo to previous message
Christoph Becker is currently offline  Christoph Becker
Messages: 91
Registered: June 2012
Karma:
Member
cerr wrote:
> It wouldn't link a file called
> men's_and_ladys'_nights.jpg nor
> men's_and_ladys'_nights.jpg

That's a strange file name, but you can link to it in (X)HTML by
applying htmlspecialchars() to it, e.g.:

<a href="<?php echo
htmlspecialchars('men&#039;s_and_ladys&#039;_nights.jpg') ?>">Men's and
Ladys' Nights</a>

--
Christoph M. Becker
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PHP Always Outputs
Next Topic: PHP Rear End Data Developer/ Contract/ Boston area
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 01 04:06:57 GMT 2024

Total time taken to generate the page: 0.05609 seconds