| Subject: | The script does not work. |  
| Summary: | Package rating comment |  
| Messages: | 3 |  
| Author: | Powernet |  
| Date: | 2009-06-01 11:45:11 |  
| Update: | 2009-06-01 13:51:51 |  
|   |  
 
 | 
 | 
Powernet rated this package as follows:
| Utility:  | Bad | 
| Consistency:  | Bad | 
| Documentation:  | Bad | 
| Examples:  | Insufficient | 
| 
 | 
  Powernet - 2009-06-01 11:45:11  
The script does not work. "test.php" file missing as requested in the form. 
  
  tchibomann - 2009-06-01 13:51:51 -  In reply to message 1 from Powernet 
haha, bad joke man. 
 
You're right, test.php is missing, but that don't mean the script generally doesn't work! 
 
Make your own test.php with this content: 
 
<?php 
 
include("encoder.class.inc.php"); 
 
if(isset($_POST['file'])): 
    $encoder = new Encode; 
    $encoder->encode($_POST['file']); 
else: 
    die("no file given!"); 
endif; 
 
?> 
 
Don't use a directory name, i think it won't work, i can't see special code for reading and encoding files of a directory recursively. 
  
  pataskun - 2022-09-12 07:30:16 -  In reply to message 2 from tchibomann 
$uncompressed = gzuncompress($compressed_string); 
  
   |