• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Help [Help] Anh Thang or ae giup em PHP code resize game voi

Anhvietcr

New Member
em dung code nay`, anh em xem sai cho nao nha
em test mai khong duoc
Code:
$mani = $zip -> getFromName('META-INF/MANIFEST.MF');



if(strstr($mani,'Nokia-MIDlet-Original-Display-Size:')){

if(strstr($mani,'Nokia-MIDlet-Original-Display-Size:240,320'))

echo 'Day la dinh dang ban dau cua file!';



if(strstr($mani,'Nokia-MIDlet-Original-Display-Size: 240,320'))

str_replace('Nokia-MIDlet-Original-Display-Size: 240,320','Nokia-MIDlet-Target-Display-Size: 128,128',$mani);

}else{

$mani .="\nNokia-MIDlet-Target-Display-Size: 128,128";

} 

$zip -> addFromString ( 'META-INF/MANIFEST.MF' , $mani);



$zip -> close ();
 
em dung code nay`, anh em xem sai cho nao nha
em test mai khong duoc
Code:
$mani = $zip -> getFromName('META-INF/MANIFEST.MF');



if(strstr($mani,'Nokia-MIDlet-Original-Display-Size:')){

if(strstr($mani,'Nokia-MIDlet-Original-Display-Size:240,320'))

echo 'Day la dinh dang ban dau cua file!';



if(strstr($mani,'Nokia-MIDlet-Original-Display-Size: 240,320'))

str_replace('Nokia-MIDlet-Original-Display-Size: 240,320','Nokia-MIDlet-Target-Display-Size: 128,128',$mani);

}else{

$mani .="\nNokia-MIDlet-Target-Display-Size: 128,128";

} 

$zip -> addFromString ( 'META-INF/MANIFEST.MF' , $mani);



$zip -> close ();

Chả sai trỗ nào ở code này, cái này làn từ code ẩn ud của taojava.net, cái resize này ko có tác dụng j đâu mà viết
 

Facebook Comments

New posts New threads New resources

Back
Top