View Single Post
Old 25th May 2012, 08:12
Padilpi Padilpi is offline
Junior Member
Join Date: May 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How do I use PHP to convert a single character into a string of characters?

I want to use PHP to find any / that is in a variable which can be called via $_GET. This variable is the end part of a document URL. The URL will be fed into Google Document Viewer. However, the embedded document URL should use %2F instead of /. Is it possible to use PHP to say "every time I see /, I replace it with %2F"?

Online Deals India

Last edited by Padilpi; 26th May 2012 at 07:44.
Reply With Quote
Sponsored Links