You are here: [suspicious - maybe spam] Re: [suspicious - maybe spam] [PHP] [suspicious - maybe spam] URL encoding in XSL - Yes, a PHP question « PHP « IT news, forums, messages
[suspicious - maybe spam] Re: [suspicious - maybe spam] [PHP] [suspicious - maybe spam] URL encoding in XSL - Yes, a PHP question

Posted by Richard Lynch on 04/23/05 01:32

On Fri, April 22, 2005 3:18 pm, Brian Dunning said:
> All the resources I've found on the web for URL encoding values within
> an XSL stylesheet are either .NET or Java, so I'm looking for some help
> with how to do this using PHP's special flavor of XML/XSL.
>
> Within the XSL doc, I've got:

Didja search the manual?

http://php.net/urlencode

<?php
$ItemLink = urlencode($ItemLink);
?>

> <xsl:variable name="ItemLink" select="concat($MediaPlexURL, Link)"/>
> <a
> href="http://www.anrdoezrs.net/click-1692198-5463217?loc={$ItemLink}">
>
> and $ItemLink needs to be URL encoded. How do I do this on my PHP box?
> Sorry no Java or .NET available... :)



--
Like Music?
http://l-i-e.com/artists.htm

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация