[PHP-WIN] Decryption

2005-11-23 Thread kumar kumar
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

[PHP-WIN] Decryption with AES support

2005-11-19 Thread kumar kumar
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.

[PHP-WIN] file stream reading

2005-11-05 Thread kumar kumar
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

[PHP-WIN] Pls Help Needed I am new toPHP

2005-11-03 Thread kumar kumar
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))