homepage Welcome to WebmasterWorld Guest from 54.204.73.126
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
Restricting Characters
matthew



 
Msg#: 401 posted 5:13 pm on Jan 18, 2005 (gmt 0)

Hi,

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.

 

rogerd

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



 
Msg#: 401 posted 12:58 pm on Mar 11, 2005 (gmt 0)

Help may be on the way soon.

BlobFisk

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



 
Msg#: 401 posted 1:09 pm on Mar 11, 2005 (gmt 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.

HTH

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved