chevron_left chevron_right
Login Register invert_colors photo_library


Stay updated and chat with others! - Join the Discord!


Non-alphanumeric filter_list
Author
Message
Non-alphanumeric #1
Does anyone here knows to decode PHP non-aplhanumeric?

I'm trying to understand it, anyone ?


Thanks.

Reply

RE: Non-alphanumeric #2
Please provide the code you wish to decode.
[Image: AD83g1A.png]

Reply

RE: Non-alphanumeric #3
I do realize its a little bit hard to do without the code....I don't feel quite comfy by sharing it...., IM not supposed to.


is it possible to get a brief explanation on the method to decode?

by the way... I sent you a pm.

Reply

RE: Non-alphanumeric #4
(04-19-2019, 04:15 AM)mothered Wrote: Please provide the code you wish to decode.

I do realize its a little bit hard to do without the code....I don't feel quite comfy by sharing it...., IM not supposed to.


is it possible to get  a brief explanation on the method to decode?

by the way... I sent you a pm.

Reply

RE: Non-alphanumeric #5
(04-19-2019, 05:35 AM)Kawa Wrote:
(04-19-2019, 04:15 AM)mothered Wrote: Please provide the code you wish to decode.

I do realize its a little bit hard to do without the code....I don't feel quite comfy by sharing it...., IM not supposed to.


is it possible to get  a brief explanation on the method to decode?

If you don't wish to share the code, I fully understand.

When you say "decode", are you referring to "removing" all non-alphanumeric characters? If so, use the following code.
Code:
<?php  
$string="Sinisterly!!?*&";
$string = preg_replace( '/[\W]/', '', $string);
echo($string);
?>

Output: Sinisterly

The regular expression of ‘/[\W]/’  replaces every non-alphanumeric character with an empty string. The preg_replace() function, searches for the strings.
[Image: AD83g1A.png]

Reply

RE: Non-alphanumeric #6
(04-19-2019, 11:58 AM)mothered Wrote:
(04-19-2019, 05:35 AM)Kawa Wrote:
(04-19-2019, 04:15 AM)mothered Wrote: Please provide the code you wish to decode.

If you don't wish to share the code, I fully understand.

When you say "decode", are you referring to "removing" all non-alphanumeric characters? If so, use the following code.
Code:
Output: Sinisterly

The regular expression of ‘/[\W]/’  replaces every non-alphanumeric character with an empty string. The preg_replace() function, searches for the strings.


I'm afraid... that's not what I mean.... PHP non-alphanumeric is actually an advanced way to obfuscate your code....... maybe this could light some concepts and hopefully someone can understand it better than me

http://www.thespanner.co.uk/2011/09/22/n...de-in-php/

Reply






Users browsing this thread: 1 Guest(s)