Jump to content
#StayAtHome ×

Archived

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

WebNuLL

[Searching] php_rar.dll version: 5.2.5

Recommended Posts

Hello, im searching php_rar.dll for PHP 5.2.5 (Windows)

 

If someone has got this file on own server, please upload it for me :)

 

Thanks, WebNuLL

Share this post


Link to post
Share on other sites

Thanks very much, i will now exit Ubunut, start Windows XP and try it ;)

 

Thanks, WebNuLL

Share this post


Link to post
Share on other sites

php_rar_thumb.png

 

I have got this error :(

 

-- How to edit post here?!

 

@edit

Ok i know how to edit, but there is no way to edit old posts.

 

This php_rar.dll is 5.2.6, because i need 5.2.5 :o

Any help?

 

Thanks, WebNuLL

Share this post


Link to post
Share on other sites

Thanks, i will download Wamp.

 

@PFMaBiSmAd

I have tested old versions of files. - Doesnt work too :(

 

Thanks, WebNuLL

Share this post


Link to post
Share on other sites

If by some chance you need an older version of a file, they are available on the php.net site - http://www.php.net/releases/

that's not work 4 me

i was install xampp and then using php_rar above.. i try this code

<?php
if(is_file('example.rar')==TRUE)
echo "ada file example.rar";
else
die("ngak ada filenya");

$rar_file = rar_open('example.rar');// or echo("Can't open Rar archive");
$entries = rar_list($rar_file);
foreach ($entries as $entry) {
   echo 'Filename: ' . $entry->getName() . "\n";
   echo 'Packed size: ' . $entry->getPackedSize() . "\n";
   echo 'Unpacked size: ' . $entry->getUnpackedSize() . "\n";

   $entry->extract('rar/');
}

rar_close($rar_file);


?>

but the result

ada file example.rar
Warning: rar_list(): supplied argument is not a valid Rar resource in C:\aplikasi\xampp\htdocs\kerjaan\apbn\001tesRar.php on line 8

Warning: rar_list() [function.rar-list]: cannot find Rar file resource in C:\aplikasi\xampp\htdocs\kerjaan\apbn\001tesRar.php on line 8

Warning: Invalid argument supplied for foreach() in C:\aplikasi\xampp\htdocs\kerjaan\apbn\001tesRar.php on line 9

Warning: rar_close(): supplied argument is not a valid Rar resource in C:\aplikasi\xampp\htdocs\kerjaan\apbn\001tesRar.php on line 17

Warning: rar_close() [function.rar-close]: cannot find Rar file resource in C:\aplikasi\xampp\htdocs\kerjaan\apbn\001tesRar.php on line 17

if i tried using die in line 2

 

Can't open Rar archive

 

i tried using winrar 3.51 ???

Share this post


Link to post
Share on other sites

failed using php_rar.. i use this

<?php
$appRar = '"C:\Program Files\WinRAR\unrar.exe"';
//"C:/Program Files/WinRARunrar.exe";     #change this
$target="1.rar";
//unrar e rar/1.rar
$do ="$appRar e $target";
exec("$appRar /?");
print_r($aOut);
exec($do,$aOut); 
print_r($aOut);

?>

read more on php help

Share this post


Link to post
Share on other sites

×
×
  • 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.