Register function with MD5 - HELP

Results 1 to 3 of 3
  1. #1
    Account Upgraded | Title Enabled! ezramod is offline
    MemberRank
    Jun 2010 Join Date
    322Posts

    Register function with MD5 - HELP

    hello i need little help with function in php for register user with md5 password activate.
    This is my insert command in php:
    $msquery2 = "INSERT INTO Me_MuOnline.dbo.MEMB_INFO (memb___id,memb__pwd,memb_name,sno__numb,mail_addr,appl_days,modi_days,out__days,true_days,mail_chek,bloc_code,ctl1_code) VALUES ('$account',[dbo].[fn_md5]('pass','account'),'$account','1234567','$email','$regtime','$regtime','$regtime','$regtime','1','0','0')";
    $msresults= mssql_query($msquery2);
    i have create function fn_md5 in db Me_MuOnline, and this query work in new query by SQL Server, but in php don't work:(( what is wrong?


  2. #2
    Am i? ScriptKid is offline
    MemberRank
    Oct 2006 Join Date
    $Location="??";Location
    1,810Posts

    Re: Register function with MD5 - HELP

    MuCOre?

  3. #3
    Account Upgraded | Title Enabled! ezramod is offline
    MemberRank
    Jun 2010 Join Date
    322Posts

    Re: Register function with MD5 - HELP

    no mu core, simple php function:D

    if i run this:
    INSERT INTO MuOnline.dbo.MEMB_INFO (memb___id,memb__pwd,memb_name,sno__numb,mail_addr,appl_days,modi_days,out__days,true_days,mail_chek,bloc_code,ctl1_code) VALUES ('account',[dbo].[EW_MD5]('parola','account'),'$account','1234567','$email','2050-01-12','2050-01-12','2050-01-12','2050-01-12','1','0','0')
    in sql query from Microsoft SQL Server Management Studio all work good , but when i run this in PHP form website no no work:((.
    have ideea why in php not work?

    thx, i resolve :
    Solution: [MuOnline].[dbo].[EW_MD5]('parola','account'),



Advertisement