Hi
Is this Code will work for Decryption
$key = md5($_REQUEST['KEY'});
$fp = fopen($fname,"w");
$getdata = mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $key,
fopen("php://input", "r"),MCRYPT_MODE_ECB);
while(!feof($getdata)){
$data = fread($getdata, 2048);
fwrite($fp,$data);
}
A
Hi
Can you know how to decrypt the file with AES
algorithm support
Example code please
WithRegards
Praveen
__
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
--
PHP Windows Mailing List (http://www.php.
hi
The code is written to recive the files sended by the
applet thru http in streams. PHP at server side has to
receive the stream using (php://input)
and as to write at server file system
this code is not working properly will any body pls
help me in rectifying the error
for all files i am re
hi
how to get the byte stream in php
like in JSP i am using this code in JSP
<%
try{
ServletInputStream in = request.getInputStream();
byte[] line = new byte[8192];
int bytes = 0;
FileOutputStream fileOutS = new
FileOutputStream(fileOut);
while(0 <(bytes = in.read(line))