|
Posted by Markus Schuster on 07/07/06 07:15
Hi,
I have the following javascript function:
<script type="text/javascript">
function HTMLEncode( text )
{
text = text.replace(/&/g, "&") ;
text = text.replace(/"/g, """) ;
text = text.replace(/</g, "<") ;
text = text.replace(/>/g, ">") ;
text = text.replace(/'/g, "'") ;
return text ;
}
</script>
Now I want to store the content of 'text' in a php string.
Is that possible?
Thanks, Max
[Back to original message]
|