Ad:
 
  • PHP Discussion Thread
  • Unsolved
  • Views: 18
  • PHP RSS
Similar Threads
Jul 15th, 2010
0

Anyone Convert me this code into PHP

Expand Post »
its a C# code . plz convert this code to PHP.

PHP Syntax (Toggle Plain Text)
  1. string hex_code; if ((FileUpload1.PostedFile != null) && (FileUpload1.PostedFile.ContentLength > 0)) { FileStream fls = new FileStream(FileUpload1.PostedFile.FileName, FileMode.Open, FileAccess.Read); byte[] blob = new byte[fls.Length]; fls.Read(blob, 0, System.Convert.ToInt32(fls.Length)); hex_code = ByteArrayToString(blob);
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Mukt@R is offline Offline
8 posts
since Dec 2009
Jul 15th, 2010
0

Re: Anyone Convert me this code into PHP

Sponsor
Featured Poster
Reputation Points: 145
Solved Threads: 274
Posting Virtuoso
pritaeas is offline Offline
1,640 posts
since Jul 2006
Message:
Previous Thread in PHP Forum Timeline: Why the checkbox is not working? it echoing "interest Array"
Next Thread in PHP Forum Timeline: why we use $HTTP_POST_VARS and @HTTP_GET_VARS....??





About Us | Contact Us | Advertise | Acceptable Use Policy
Build Custom RSS Feed


Follow us on Twitter


© 2010 DaniWeb® LLC