By all means, go for improvement, imho... |
||
![]() CinC snarkles One thing to realize that the bulk of this script was written about 5 years ago when I was basically just getting my feet wet in learning PHP (and programming in general, really). Funny story: my old text-to-binary converter used to be like 100 find/replace statements. *lol* Even in going through the script and making basic input/output charts, I'm finding all kinds of little things that I missed (it will try to convert a purely whitespace entry, there's no "maxlength" on the entry so someone could potentially throw 8MB worth of text in the script (please don't :P), etc.). So if you find areas like this where the current script seems "broken", always go for improving its capabilities if you can. Perhaps a check could be made initially on the characters entered to find out if they're UTF-8 or UTF-16, and call a different conversion method based on that. Though I'd maybe hold off on adding brand-new functionality (someone's mentioned PGP, UUEncoding, etc.) until after we get the base script up and running. If you have any questions on how/why something works the way it does, too, just ask and I'll do my best to answer. :) Replies:
|
||
| CyberArmy::Forum v0.6 Generated In 0.02224 seconds |