942,528 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 32
  • PHP RSS
Jul 15th, 2010
-1

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);
Similar Threads
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: 531
Solved Threads: 711
Bite my shiny metal ass!
pritaeas is offline Offline
4,125 posts
since Jul 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
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
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC