[suspicious - maybe spam] [suspicious - maybe spam] Re: [suspicious - maybe spam] [PHP] [suspicious - maybe spam] URL encoding in XSL - Yes, a PHP question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux