Re: htmlspecialchars() backwards?

From: Date: Tue, 25 Sep 2001 22:37:48 +0000
Subject: Re: htmlspecialchars() backwards?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-68783@lists.php.net to get a copy of this message
See : http://www.php.net/manual/en/function.get-html-translation-table.php An example exists in there that does this. Regards, Philip Olson On Tue, 25 Sep 2001, Jay Paulson wrote: > hello- > > Is there a built in function that will reverse what htmlspecialchars() does > to text? > For example: > > $text = "<stuff & goes> here\" and \' there"; > $text = htmlspecialchars($text); > > //now all the special codes are in the $text var for the html and now I want > to get > //back to the orignal string of "<stuff & goes> here\" and \' > there" how do > I do that? > > $text = (some function here)($text); > > I hope you understand if not I'll explain more. > > Thanks! > jay > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#68783) next »