下面列几个实用的扩展应用: 1,修改ua using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; using System.Reflection; na...
网络上或官方目前的内容 教程: ‘me’ 为记录集游标,用于区分不同的查询,如: $db->Execute(‘me’,$dsql); while($arr = $db->GetArray()) { $db->Execute(‘2’,$dsql2); while($arr2 = $db->Ge...
直接贴代码: FileStream fs = new FileStream(f.FullName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite); StreamReader sr = new StreamReader(fs, System.Text.Encoding.Default); string filetext = sr.ReadT...
-最近基于thinkphp开发了个导购网站,现在有时间,将遇到的伪静态问题整理下,与大家分享。 1.设置URL伪静态 在config.ini.php中设置,如果只想前台URL伪静态,那么只在前台的config.php文件中设置就可以,如下: ‘URL_MODEL’=>2, ‘URL_HTML_SUFFIX’ =>’.html&...