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"?
Recent comments
1 day 11 hours ago
1 day 13 hours ago
2 days 1 hour ago
2 days 4 hours ago
2 days 8 hours ago
2 days 14 hours ago
3 days 20 min ago
3 days 2 hours ago
3 days 10 hours ago
3 days 11 hours ago