Thread Starter
bitziz
(@bitziz)
I just ended up using the textarea code, works out pretty well though, check this out
http://blog.jydesign.biz/index.php?cat=5
check the last line inside the code.
i think u left something out…
Thread Starter
bitziz
(@bitziz)
Damn… it doesn’t work it adds and <br> to the code. I will try the code encoder then.
Hey, that text encoder is nifty! Has anyone created a bookmarklet so that we can easily access the page? Or could someone create one, please?
Thread Starter
bitziz
(@bitziz)
It’s something that you can create yourself in php.
It simply does a bunch of string replaces.
Replace < with <
Replace > with >
Replace ' with '
Replace " with "
You can do that with the following simple PHP codes, assuming your input data is $data.
$data = str_replace("<", "<", $data);
$data = str_replace(">", ">", $data);
$data = str_replace("'", "'", $data);
$data = str_replace('"', """, $data);
That should take care of the string replaces.