• I have decode some files
    Code 1:

    foreach ($jaki as ) {
    	[0];
    	[1];
    	$value = ;
    	$key = ;
    	$ic = $i++;
    	}

    Code 2:

    smart_meta( $pid, 'my_nama_opsis' );
    	$jaki = ;
    	$i = 215;

    Code 3:

    foreach ($data as ) {
    	[0];
    	$item = ;
    	$hash = '';
    	foreach ($group_fields as ) {
    		[0];
    		$field = ;
    		$item[$field];
    		$hash .= ;
    	}

    How I can fix that error?
    I dont have much knowledge about php.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Whoever/wahtever decoded those files did a very bad job. None of that is valid PHP code, and there’s realyl no way to “fix” it without knowing what it’s actaully supposed to do.

    Where did you get these files from, what did you have to do to de-code them, and where are you using them in your WordPress site?

    Thread Starter Platinums

    (@platinums)

    I buy a theme with valid license. The License validator using Curl in main php called master-option.php (encoded by ioncube) <– I dont encode this one.
    I found 1 file lib.php (encoded by ioncube). I need to decode this file because I need to modify the theme. After decode The file I dont see anything about license in this file so thats legal if I decode this file for the reason to modify something in that theme.

    Code 1 may be something like this:

    foreach ($jaki as $key => $value ) {
    			$ic = $i++;

    Code 2:

    $jaki = smart_meta( $pid, 'my_nama_opsis' );
    	$i = 215;

    but still something wrong.
    I dont know how to put the $i = 215 and $ic = $i++ and what that mean.

    Code 3:

    foreach ($data as $item) {
    	$hash = '';
    	foreach ($group_fields as $item[$field] => $field) {
    		$hash .= ;
    	}

    For code 3 really dont know. ??

    Then you have got two problems.

    First, commercial products are not supported by these forums. You need to contact the vendor of your theme and get their help. Part of what you’ve paid them for is their support, so you should be using that.

    Second, just because there’s no license doesn’t mean that it’s OK to og de-coding something like that. Even if it is, as you’ve found out it’s really not that easy to do and get some readable output. We aren’t going to help you to break the encryption of a file that you’ve purchased, no matter what the license is.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Syntax Error Decode File’ is closed to new replies.