Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Restricting Characters

5:13 pm on Jan 18, 2005 (gmt 0)

New User

joined:Mar 9, 2012
votes: 0


Here's my situation...

I've built a simple CMS using PHP and flash. All it basically does it take the text from two text fields and posts them as a news update. What I'm working on now is allowing my clients to update their past posts.

Here's my problem... When I first post a new message with charachters like " ' or &, they all work fine because I have them formatted in HTML in the PHP code. However, It's a bit trickier for the update and it outputs this apos; quot; etc...

So, my question is... how, in flash, can i tell the script not to send the " ' and & characters to the PHP script? I want them to be left out or preferrably replaced.

Thanks for your time.

12:58 pm on Mar 11, 2005 (gmt 0)


WebmasterWorld Administrator rogerd is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 2, 2000
votes: 0

Help may be on the way soon.
1:09 pm on Mar 11, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member blobfisk is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 25, 2002
votes: 0

Welcome to WebmasterWorld, matthew!

This is something that I think will need to be done with Actionscript. You should be able to strip out the characters before sending the string to the server.