Tuesday, 10 September 2013

How I can get parameter by $_GET

How I can get parameter by $_GET

I can not get parameter $_GET with it value contain character: '#'.
I have the follow code:
<iframe
src="http://localhost/wp352/wp-content/plugins/heloworld/templates/options-rte.php?text_content=<span
style="color: #ff0000;">Empty content.</span>">
and when I change or eliminate the character: '#' all work fine. for example:
<iframe
src="http://localhost/wp352/wp-content/plugins/heloworld/templates/options-rte.php?text_content=<span
style="color: ff0000;">Empty content.</span>">
How I can get the parameter (text_content) value complete?
Note: I'm testing in PHP get this parameter/value $_GET['text_content'].
Thanks

No comments:

Post a Comment