WebNuLL Posted December 19, 2008 Share Posted December 19, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/137668-searching-php_rardll-version-525/ Share on other sites More sharing options...
Semas Posted December 19, 2008 Share Posted December 19, 2008 There you go. Hope it will help. [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/137668-searching-php_rardll-version-525/#findComment-719531 Share on other sites More sharing options...
WebNuLL Posted December 19, 2008 Author Share Posted December 19, 2008 Thanks very much, i will now exit Ubunut, start Windows XP and try it Thanks, WebNuLL Quote Link to comment https://forums.phpfreaks.com/topic/137668-searching-php_rardll-version-525/#findComment-719640 Share on other sites More sharing options...
WebNuLL Posted December 19, 2008 Author Share Posted December 19, 2008 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 Any help? Thanks, WebNuLL Quote Link to comment https://forums.phpfreaks.com/topic/137668-searching-php_rardll-version-525/#findComment-719665 Share on other sites More sharing options...
Semas Posted December 19, 2008 Share Posted December 19, 2008 I offer you to get Wamp (http://www.wampserver.com/en/) it works fine, and when latest updates comes out you can get em instantly. Using it i never had any errors like thet. Quote Link to comment https://forums.phpfreaks.com/topic/137668-searching-php_rardll-version-525/#findComment-719680 Share on other sites More sharing options...
PFMaBiSmAd Posted December 19, 2008 Share Posted December 19, 2008 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/ Quote Link to comment https://forums.phpfreaks.com/topic/137668-searching-php_rardll-version-525/#findComment-719687 Share on other sites More sharing options...
WebNuLL Posted December 19, 2008 Author Share Posted December 19, 2008 Thanks, i will download Wamp. @PFMaBiSmAd I have tested old versions of files. - Doesnt work too Thanks, WebNuLL Quote Link to comment https://forums.phpfreaks.com/topic/137668-searching-php_rardll-version-525/#findComment-719694 Share on other sites More sharing options...
landavia Posted January 20, 2009 Share Posted January 20, 2009 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 ??? Quote Link to comment https://forums.phpfreaks.com/topic/137668-searching-php_rardll-version-525/#findComment-741338 Share on other sites More sharing options...
landavia Posted January 21, 2009 Share Posted January 21, 2009 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 Quote Link to comment https://forums.phpfreaks.com/topic/137668-searching-php_rardll-version-525/#findComment-742410 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.