Click here to Skip to main content
15,915,019 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Web parts User control Events Pin
Jpuckett25-Sep-07 17:38
Jpuckett25-Sep-07 17:38 
QuestionConverting a PHP HexToBin function to C# [modified] Pin
#realJSOP24-Sep-07 5:20
professional#realJSOP24-Sep-07 5:20 
AnswerRe: Converting a PHP HexToBin function to C# Pin
Guffa24-Sep-07 7:34
Guffa24-Sep-07 7:34 
GeneralRe: Converting a PHP HexToBin function to C# Pin
#realJSOP24-Sep-07 9:55
professional#realJSOP24-Sep-07 9:55 
AnswerRe: Converting a PHP HexToBin function to C# Pin
Guffa24-Sep-07 10:29
Guffa24-Sep-07 10:29 
GeneralRe: Converting a PHP HexToBin function to C# Pin
#realJSOP25-Sep-07 0:14
professional#realJSOP25-Sep-07 0:14 
AnswerRe: Converting a PHP HexToBin function to C# Pin
Guffa25-Sep-07 0:25
Guffa25-Sep-07 0:25 
AnswerRe: Converting a PHP HexToBin function to C# [SOLVED] Pin
#realJSOP25-Sep-07 3:37
professional#realJSOP25-Sep-07 3:37 
I finally got a chance to try this at home, and here's the C# version of the PHP code posted in the original message:

private string HexToBin(string data) 
{
    string newData = "";
    if (data != "")
    {
        for (int i = 0; i < data.Length; i += 2)
        {
            string hexValue = data.Substring(i, 2);
            newData += Convert.ToChar(Byte.Parse(hexValue, NumberStyles.HexNumber));
        }
    }
    return newData;
}






"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


AnswerRe: Converting a PHP HexToBin function to C# [SOLVED] Pin
Guffa25-Sep-07 19:49
Guffa25-Sep-07 19:49 
QuestionAOL API for Calendar data? Pin
vbmithai23-Sep-07 20:00
vbmithai23-Sep-07 20:00 
QuestionCCAvenue intregation Pin
Abhishek0323-Sep-07 19:56
Abhishek0323-Sep-07 19:56 
QuestionHow the FILEUPLOAD to prevent from posting back? Pin
hifiger200423-Sep-07 7:23
hifiger200423-Sep-07 7:23 
AnswerRe: How the FILEUPLOAD to prevent from posting back? Pin
Guffa23-Sep-07 8:57
Guffa23-Sep-07 8:57 
GeneralRe: How the FILEUPLOAD to prevent from posting back? Pin
hifiger200423-Sep-07 12:16
hifiger200423-Sep-07 12:16 
GeneralRe: How the FILEUPLOAD to prevent from posting back? Pin
Christian Graus23-Sep-07 12:42
protectorChristian Graus23-Sep-07 12:42 
AnswerRe: How the FILEUPLOAD to prevent from posting back? Pin
hifiger200423-Sep-07 17:20
hifiger200423-Sep-07 17:20 
GeneralRe: How the FILEUPLOAD to prevent from posting back? Pin
Christian Graus23-Sep-07 19:17
protectorChristian Graus23-Sep-07 19:17 
GeneralRe: How the FILEUPLOAD to prevent from posting back? Pin
Malcolm Smart27-Sep-07 2:15
Malcolm Smart27-Sep-07 2:15 
QuestionURGENT: Please Help - ASP Error Pin
Azi Qaiser23-Sep-07 2:10
Azi Qaiser23-Sep-07 2:10 
QuestionVisual Web 2005 Express HELP Pin
Rocky Mt. High22-Sep-07 20:27
Rocky Mt. High22-Sep-07 20:27 
AnswerRe: Visual Web 2005 Express HELP Pin
Jpuckett25-Sep-07 17:43
Jpuckett25-Sep-07 17:43 
QuestionSafari (Mac) + innerHTML Pin
Dmitry Khudorozhkov22-Sep-07 10:16
Dmitry Khudorozhkov22-Sep-07 10:16 
AnswerRe: Safari (Mac) + innerHTML Pin
Guffa22-Sep-07 10:50
Guffa22-Sep-07 10:50 
GeneralRe: Safari (Mac) + innerHTML Pin
Dmitry Khudorozhkov22-Sep-07 10:52
Dmitry Khudorozhkov22-Sep-07 10:52 
GeneralRe: Safari (Mac) + innerHTML Pin
Guffa22-Sep-07 14:43
Guffa22-Sep-07 14:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.