1)ホームでサイトの内容をあきらかに
2)ユーザーがわかりやすいカテゴリに
3)ユーザーの目的達成を考えた構成
4)各ページの内容を独立させる
5)各ページからホームに戻れるようにする
6)ページを削除、移動しない
7)検索窓を配置
8)検索結果から情報をさがしやくする
9)重要な情報はページの上部に
10)ページのスクロール領域に気おつける
11)オンラインで読みやすい文章にする
12)ユーザーがサイズを変更できる
13)文字を画像化しない
14)クリックできる部分を明確に
15)リンクをわかりやすく:履歴
16)HTMLファイル以外は告知する
17)ユーザーの入力操作は最小限に
2007年2月26日月曜日
size of page is 760 wide is max
there are no stander size
msot small display has : 640+480
but nowday smallest displya at least has 760 on wide ,
Now 2007 ,if you make page most secure ,set page within 760 of wide
msot small display has : 640+480
but nowday smallest displya at least has 760 on wide ,
Now 2007 ,if you make page most secure ,set page within 760 of wide
2007年2月20日火曜日
2007年2月6日火曜日
2007年2月5日月曜日
select
$sql="query strings";
$result=mysql_query($sql);
$row=mysql_num_rows($result);
if($rows==0){
die;
}
else{
while($row=myswl_fetch_array($result)){
$a1=$row["field name1"];
$a2=$row["field name2"];
}
$result=mysql_query($sql);
$row=mysql_num_rows($result);
if($rows==0){
die;
}
else{
while($row=myswl_fetch_array($result)){
$a1=$row["field name1"];
$a2=$row["field name2"];
}
insert data
$con=mysql_connect ("localhost", "id", "ps") or die ('I cannot connect to the database because: ' . mysql_error());
print ("connection is seccuess");
mysql_select_db('worloka3_test');
$last_name = addslashes($_POST['last_name']);
$first_name = addslashes($_POST['first_name']);
$age = addslashes($_POST['age']);
$sql = <<
(
last_name,
first_name,
age
)
VALUES
(
'$last_name',
'$first_name',
$age
)
EOS;
print "
".$sql;
$result = mysql_query($sql);
print "
".$result;
mysql_close($con);
?>
connect to sql by php
$con=mysql_connect ("localhost", "your id", "your ps") or die ('I cannot connect to the database because: ' . mysql_error());
print ("connection is seccuess");
mysql_close($con);
?>
print ("connection is seccuess");
mysql_close($con);
?>
2007年2月2日金曜日
URL
for "move_uploaded_file" or other function ,it need to tell URL like this,
$file_dir = '/home/worloka3/public_html/test/image/';
ex :
$file_dir = '/home/worloka3/public_html/test/image/';
$file_path = $file_dir . $_FILES["uploadfile"]["name"];
move_uploaded_file($_FILES["uploadfile"]["tmp_name"], $file_path)
$img_dir = "/test/image/";
$img_path = $img_dir. $_FILES["uploadfile"]["name"];
$size = getimagesize($file_path);
$file_dir = '/home/worloka3/public_html/test/image/';
ex :
$file_dir = '/home/worloka3/public_html/test/image/';
$file_path = $file_dir . $_FILES["uploadfile"]["name"];
move_uploaded_file($_FILES["uploadfile"]["tmp_name"], $file_path)
$img_dir = "/test/image/";
$img_path = $img_dir. $_FILES["uploadfile"]["name"];
$size = getimagesize($file_path);
登録:
投稿 (Atom)
