htmlspecialchars
Hello!
I have a question. It is possible to use htmspecialchars function in amxmodx scripting? I am interested because i use sockets to send data to a php file and i want to convert any symbol like "! @ # $ % etc." to html codes like " • &raqo; etc." because PHP don't support to get the "#" symbol. Thnak's! |
Re: htmlspecialchars
You don't encode them like that you encode them with hex. So, for the space space character it is %20.
It's called encoding the special characters. Here is a stock function by Joropito. Note: The stock posted by Exolent does not currently work. |
Re: htmlspecialchars
Aha. So, another function to do this doesn't exist?
L.E. I have used the stock function made by Joropito, and it works. Thank's a lot! --- Sorry for my bad english --- |
| All times are GMT -4. The time now is 07:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.