摘要: function trimUTF8BOM($file){ $content = file_get_contents($file); if(substr($content, 0, 3) == pack('CCC', 239, 187, 191)) { $content = s... 阅读全文
posted @ 2014-07-18 16:55 Andy2018 阅读(180) 评论(0) 推荐(0)
摘要: 加密:HEX(AES_ENCRYPT('123', 'andy'))解密:AES_DECRYPT(UNHEX('CED4D1B547C01B4475426D8A7D3314C8'),'andy')其中:'andy'是密钥。 阅读全文
posted @ 2014-07-18 16:53 Andy2018 阅读(215) 评论(0) 推荐(0)
摘要: package com.example.helloworld; import android.os.Bundle;import android.app.Activity;import android.content.Intent;import android.view.Menu;import and... 阅读全文
posted @ 2014-07-18 16:49 Andy2018 阅读(414) 评论(0) 推荐(0)