Results 1 to 10 of 16
Hybrid View
-
8th Mar 2012, 07:45 PM #1(╯?□?)╯︵ ┻━┻Website's:
Xenu.ws WarezLinkers.com SerialSurf.com CracksDirect.comI didn't feel the need to reference the rest of the code as you had already posted it previously, this was simply a potential replacement for the function in that code. Since there was only one function in use, it seemed obvious to me that would be the one to replace. I did finish, thanks to the rest of the code already existing due to your post.
As for the javascript, he asked for it in PHP, not JS. But for your satisfaction:
Code:var str = 'some string'; str = str.replace(/./g, function(c) { return '\\x' + c.charCodeAt(0).toString(16); }); // str now contains the characters using '\x' notation
Doing something like the following would result in the '\x' codes being evaluated, leading to the initial string.
Code:str = str.replace(/./g, function(c) { eval("c = '\\x" + c.charCodeAt(0).toString(16) + "';"); return c; });
JmZ Reviewed by JmZ on . encode PHP Hi KWWH friends, please i want to know to encode for example word "stream" to "\x73\x74r\x65\x61m" i know how to decode the line by htmlentities and that stuff but i don't know how to encode. thanks in advance Rating: 5Projects:
WCDDL - The Professional DDL Script
Top Secret Project: In Development - ZOMG
ImgTrack - Never Have Dead Images Again!
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
How to Encode Like this..??
By downloadsmasti in forum Tutorials and GuidesReplies: 21Last Post: 10th Nov 2012, 10:20 PM -
Encode to html
By skinner in forum Web Development AreaReplies: 4Last Post: 21st Feb 2012, 02:28 PM -
Need RDP to encode
By TheLorenalex in forum Hosting DiscussionReplies: 9Last Post: 25th Nov 2011, 06:08 PM -
how to encode a movie
By chaudhary9 in forum General DiscussionReplies: 2Last Post: 24th Sep 2011, 11:27 PM -
Need VPS for encode
By chipve in forum Hosting DiscussionReplies: 4Last Post: 2nd Feb 2011, 03:26 PM
themaCreator - create posts from...
Version 3.52 released. Open older version (or...