ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Scripts  >>  PHP
 
 


 

 
 PHP interview questions  PHP Interview Questions
 ASP interview questions  ASP Interview Questions
 CGI Perl interview questions  CGI Perl Interview Questions
 JavaScript interview questions  JavaScript Interview Questions
 VB Script interview questions  VB Script Interview Questions
 JSP interview questions  JSP Interview Questions
 Shell Script interview questions  Shell Script Interview Questions
 Python interview questions  Python Interview Questions
 Tcl interview questions  Tcl Interview Questions
 Awk interview questions  Awk Interview Questions
 AJAX interview questions  AJAX Interview Questions
 Ruby on Rails interview questions  Ruby on Rails Interview Questions
 Scripts AllOther interview questions  Scripts AllOther Interview Questions
Question
How to make a file encrypt and decrypt?
 Question Submitted By :: Raheem
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to make a file encrypt and decrypt?
Answer
# 1
md5_file()...
example...



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

output:5d41402abc4b2a76b9719d911017c592
 
Is This Answer Correct ?    1 Yes 0 No
Prabhu
 
  Re: How to make a file encrypt and decrypt?
Answer
# 2
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 ?    0 Yes 0 No
Shailesh
 
 
 
  Re: How to make a file encrypt and decrypt?
Answer
# 3
<html>
<body>
<form action="a.php" method="post" enctype="multiform/form-
data">
//<form element>//
</form>
</body>
</html>
 
Is This Answer Correct ?    1 Yes 1 No
C.balamurugan
 

 
 
 
Other PHP Interview Questions
 
  Question Asked @ Answers
 
I have 10 elements of Array, how can i remove 5 array element, with single function.  10
Is it possible to get the screen resolution and like with php?  1
How are Variables Defined in PHP? T3-Softwares4
How can we know the number of days between two given dates using PHP? HCL8
How many ways are there for passing variables between pages in PHP and what are they ?  7
How do I open a file to write content to? Rushmore-Consultancy1
How will you sened requests from server1 to server2 from server2 to server3 and so on .. w/o letting the output come to the browser or say the client end in php Yahoo2
What are the different methods of passing data or information between two calls of a web page? What are the advantages/disadvantages of these methods? Patni2
What is the meaning of curl , which is used while connecting with pay pal? and how it works?  2
Why these language is needed?  1
What is the difference between using copy() and move() function in PHP file uploading?  3
What is the purpose of the following files having extensions 1) .frm 2) .myd 3) .myi? What do these files contain?  2
What's the diff. between include() and Include_once().  2
Without using forms and hidden variables, how to send variables from a PHP script to another URL using POST method?  2
How can we register the variables into a session?  1
How can we submit a form without a submit button? What is the use of obj_star? Rushmore-Consultancy1
What is the Diff. Between echo() and Print() in PHP? CoreNet16
How to add different images in php program like a job site.......  2
How to add a cookie?  2
What is PEAR?  1
 
For more PHP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com