It works perfectly fine with PHP 4.3.9, but when used with PHP 5, the font color, font size, image, and url conversions get messed up. For example, here is what a url that gets inserted into the database after being parsed looks like:
It works perfectly fine with PHP 4.3.9, but when used with PHP 5, the font color, font size, image, and url conversions get messed up. For example, here is what a url that gets inserted into the database after being parsed looks like:
you are simply using the str_replace function, that simply replaces a string with another string. It worked in php 4 because php4 is probably more lenient with code parsings.
Example:
you are replacing <a href=" with [url="
not only are you not replacing the closing brace (>), it will not work if the person keyed in <a **** href=" , where **** represents spaces.
__________________ http://KENETIX.NET - FREE MONEY MAKING TOOLS & RESOURCES