Jump to content

Encoding Type


alex-johnson

Recommended Posts

Hi,

 

I have a php file that i cannot read its source content , i dont know what type of encoding is it and i hope that someone here could help me out !

 

When i run 'file' command in linux it gives me this output : PHP script, ISO-8859 text, with LF, NEL line terminators

It shows up like this in editor (Geany):

post-164318-0-95908400-1374178140_thumb.png

 

In Notepad++:

 

post-164318-0-98023300-1374178196_thumb.png

 

 

Is there anyway that i could convert or change it to something human readable ?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/280292-encoding-type/
Share on other sites

PHP allows most names to use high-byte characters (ASCII >127). It's valid PHP code.

You'd have to do a sort of find-and-replace for each one, keeping in mind that replacing "ABC" might also find "ABCD" even though they're two logically different names.

 

What are you trying to do? Obfuscated code typically has restrictive licenses.

Link to comment
https://forums.phpfreaks.com/topic/280292-encoding-type/#findComment-1441299
Share on other sites

Im kind of a newbie in PHP and to be honest i dont get it!

The script belongs to me but the programmer is not avilable anymore and i have to change the server and do some modifications .

I'll be appreciated if you could explain to me how should i do find-and-replace in this codes.

Link to comment
https://forums.phpfreaks.com/topic/280292-encoding-type/#findComment-1441300
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.