Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to make a file encrypt and decrypt?

Answers were Sorted based on User's Feedback



How to make a file encrypt and decrypt?..

Answer / prabhu

md5_file()...
example...



<?php
$filename = "test.txt";
$md5file = md5_file($filename);
echo $md5file;
?>

output:5d41402abc4b2a76b9719d911017c592

Is This Answer Correct ?    14 Yes 3 No

How to make a file encrypt and decrypt?..

Answer / shailesh

Hello

You can use base64_encode and base64_decode for file encrypt
and decrypt.

With base64_encode you can encrypt the file name. and
With base64_decode you can decrypt the file name.

Thanks

Is This Answer Correct ?    6 Yes 1 No

How to make a file encrypt and decrypt?..

Answer / michael jerold

you have to use md5() or CRYPT() it functionally work well i
got result

Is This Answer Correct ?    0 Yes 0 No

How to make a file encrypt and decrypt?..

Answer / c.balamurugan

<html>
<body>
<form action="a.php" method="post" enctype="multiform/form-
data">
//<form element>//
</form>
</body>
</html>

Is This Answer Correct ?    1 Yes 10 No

Post New Answer

More PHP Interview Questions

What is the use of curl()?

0 Answers  


Declare a new variable in php equal to the number 3;

0 Answers  


Tell me what is the difference between the functions strstr() and stristr()?

0 Answers  


Explain me what is the use of 'print' in php?

0 Answers  


suppose if u want to pass session value using cookies onlu.. what changes i've to made in php.ini file?

1 Answers  


Explain what is the use of "echo" in php?

0 Answers  


What does the expression exception::__tostring means?

0 Answers  


write function of the sentence traversal passing the parameter, e.g input:this is input sentence. output:sentence input is this.

1 Answers   HyperQuality,


What is the correct and the most two common way to start and finish a php block of code?

0 Answers  


What is the full form of PHP?

28 Answers   Apple, Nandhini, PHP,


How many ways there are to fetch the data from the Database?

2 Answers   Tops Technologies,


What is the difference between require and include in php?

0 Answers  


Categories