什么是网站策划? 网站策划的职责与作用 网站策划的一些具体职能
WEB Dev
PHP、JSP、ASP.NET、Javascript
网站性能优化
Standard用Ajax提高用户体验
如点击下载计数器一类的请求可经由ajax执行
PHP用GD生成验证码
Standardvalidatecode.php function random($len){...}
PHP分页函数
Standard$sql="SELECT * FROM tb"; //取得总信息数 $result=mysql_query($sql); $total=mysql_num_rows($result); //调用pageft(),每页显示10条信息(使用默认的20时,可以省略此参数),使用本页URL(默认,所以省略掉)。 pageft($total,10,"http://www.yemaosheng.com/index"); //现在产生的全局变量就派上用场了: $result=mysql_query($sql." limit $firstcount,$displaypg");
Div Drag 鼠标拖放
Standardemu's div-drag
PHP数据库存储session
StandardFirst up, we need to create a table to handle the session data, and here's how it will look: CREATE TABLE sessions (ID INT NOT NULL AUTO_INCREMENT PRIMARY KEY, SessionID CHAR(26), Data TEXT DEFAULT '', DateTouched INT); Now, session operations script
ASP.NET文件上传范例
StandardImport Namespace="System" Import Namespace="System.Web.HttpPostedFile" Import Namespace="System.Web.UI.HtmlControls.HtmlInputFile"
VB.NET调用WebService时报错
Standard加入wsDataContent.Credentials = System.Net.CredentialCache.DefaultCredentials即正常(*号标出)
PHP文件上传时关于open_basedir的报错解决
StandardPHP Upload files to the virtual host errors:
Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/tmp/phpEIjcGh) is not within the allowed path(s): (/usr/local/apache/htdocs/) in /usr/local/apache/htdocs/xxxsite/upload.htm on line 21
ASP.NET调用DLL范例
StandardImports System.Data Imports System.Data.OleDb Public Class Conn