PHP Classes

The script does not work.

Recommend this page to a friend!

      Base64 PHP File Encoder  >  All threads  >  The script does not work.  >  (Un) Subscribe thread alerts  
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

  1. The script does not work.   Reply   Report abuse  
Picture of Powernet Powernet - 2009-06-01 11:45:11
The script does not work. "test.php" file missing as requested in the form.

  2. Re: The script does not work.   Reply   Report abuse  
Picture of tchibomann 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.

  3. Re: The script does not work.   Reply   Report abuse  
Picture of pataskun pataskun - 2022-09-12 07:30:16 - In reply to message 2 from tchibomann
$uncompressed = gzuncompress($compressed_string);