-
Senior Member
How to replace <font face=Verdana> wirh <font face="Verdana"> with php
Hi,
I'm making a sort of outlook clone in Flash and have come pretty far but the flash player is very strict when it comes to html. I've stripped and replaced a whole lot and urlencode it to display it nicely.
The problems comes with for example this:
<font face=Verdana>some text</font>
The flashplayer simply ignores the text then.
is there a way to replace it like this:
<font face="Verdana">some text</font>
and then for every font, color, allignment, etc
You would be a huge help!
thanks,
Vincent
Vincent
SWIS BV
Last edited by Markp.com on 07-23-2003 at 02:25 AM
-
echo "<font face=\"verdana\">some text</font>\n";
or:
echo "<font face='verdana'>some text</font>\n";
Is that what you meant?
-
Senior Member
No, but thanks
The html comes from the mailserver and is displyed with PHP to be loaded in Flash (html textbox).
When someone is using a rich text editor (hotmail for example) the source of the mail is a mess and the flashplayer is very strict.
I think I covered a whole lot but I can't find anything for these tags that should have the color, font type, allignment, etc in quotes but simply haven't.
I need to convert it somehow.
Thanks
Vincent
SWIS BV
Last edited by Markp.com on 07-23-2003 at 02:25 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|