µù¥U
µn¿ý
º¶
½×¾Âª©³W
¸T¤î¦Cªí
»¡©ú
¦a¹Ï
¼Æ¦ì®Ñ»
¨p¤H®ø®§ (0)
¤½¦@®ø®§ (0)
½×¾Â¥ô°È (0)
¨t²Î®ø®§ (0)
¦n¤Í®ø®§ (0)
©«¤l®ø®§ (0)
³Â»¶®a±Ú°Q½×ª©ª©
»
PHP
» ÀɮפW¶Ç
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
µo©«
[±Ð¾Ç]
ÀɮפW¶Ç
¤p»x
µoµu®ø®§
¥[¬°¦n¤Í
¤p»x
(¤p»x)
·í«eÂ÷½u
´¿¸g¤]¬O¤ô¹q¤u
UID
9
©«¤l
1193
¥DÃD
394
ºëµØ
113
¿n¤À
1747
ª÷¿ú
1747
ÂI¦W
1
§@·~¨t²Î
Vista
³nÅ骩¥»
Office 2003
¾\ŪÅv
200
©Ê§O
¨k
¨Ó¦Û
¥xÆW
¦b½u®É¶¡
491 ¤p®É
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2024-12-20
¡@¼ÊºÙ:
¤p»x
¡@ÀY»Î:
´¿¸g¤]¬O¤ô¹q¤u
ºÞ²zû
©«¤l
1193
¥DÃD
394
ºëµØ
113
¿n¤À
1747
ÂI¦W
1
§@·~¨t²Î
Vista
³nÅ骩¥»
Office 2003
¾\ŪÅv
200
©Ê§O
¨k
¨Ó¦Û
¥xÆW
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2024-12-20
1
#
¸õÂà¨ì
»
¥¿§Ç¬Ý©«
¥´¦L
¦rÅé¤j¤p:
t
T
µoªí©ó 2010-6-14 00:57
|
¥u¬Ý¸Ó§@ªÌ
[±Ð¾Ç]
ÀɮפW¶Ç
ÀÉ®×
,
¤W¶Ç
¦bPHPªº¥@¬É¤¤¡AÀɮפW¶Ç¤w¤£¬O¥ó§xÃøªº¨ÆÅo¡I¦ý½Ð±z¤d¸U°O±o¤@¥ó¨Æ¡Gªí³æªº¸ê®Æ½s½X«¬ºA¡]EncType¡^¤@©wn³]¬°¡y
Multipart/Form-data
¡z¡C
¦bªí³æÄæ¦ì¤¸¥ó¤¤¦³¤@Ó¦W¬°¡uFile¡vªº¤¸¥ó¡A¥¦¬O¥Ñ¡uText¡v¤å¦rÄæ¦ì»P¡uButton¡v©Ò²Õ¦¨¡A·í§ÚÌ«ö¤U¡uÂsÄý¡v«ö¶s®É¡A´N·|¥X²{¡u¿ï¾ÜÀɮסvµøµ¡Åý§ÚÌ¿ï¨ú¥»¾÷¤¤ªºÀɮסA¨Ò¦p¡G
¤U¸ü
(56.42 KB)
2010-6-14 00:55
³oÓ¡uFile¡vÄæ¦ì¤¸¥ó´N¬O¥D¨¤¤§¤@¡A¦b¡u¿ï¾ÜÀɮסv¥«µ¡¤¤¥X²{ªºÀÉ®×»P¥Ø¸ô³£¬O¨Ï¥ÎªÌºÝ¾÷¾¹ªº¤º®e¡A¦Ó«D§Ú̪º¦øªA¾¹Àɮפº®e³á¡I¼o¸Ü¤£¦h»¡¡A§ÚÌ¥ý¨Ó§¹¦¨°ò¦ªº¤W¶Çºô¶¤Îªí³æ¤¸¥ó§G¸m¡A§¹¦¨µe±¦p¤U¹Ï¡G
¤U¸ü
(20.2 KB)
2010-6-14 00:56
uploadn.php
<HTML><BODY>
<H3>FTP ÀɮפW¶Ç:(¶Ç°e³æÓÀÉ®×)<HR></H3>
<Form Action="mygetfilen.php" Method="POST"
Enctype="multipart/form-data">
<Input Type="File" Name="upfile" ><br>
<Input Type="Submit" value=" ¶}©l¤W¶Ç ">
</Form>
</BODY></HTM>
½Æ»s¥N½X
¯u¥¿³B²zÀɮפW¶Ç¤u§@ªº¬O¡umygetfilen.php¡v¦Ó«D¤W¶Çªí³æ¡uuploadn.php¡v¡G
mygetfilen.php
<HTML>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>³æÀɮפW¶Ç</title>
</head>
<BODY><H3>¤W¶ÇÀɮ׬ÛÃö¸ê°T¡G<HR></H3>
<?
echo "<BLOCKQUOTE>";
echo "ÀɮצWºÙ¡G" . $_FILES["upfile"]["name"] . "<BR>";
echo "Àɮפj¤p¡G" . $_FILES["upfile"]["size"] . "<BR>";
echo "ÀÉ®×Ãþ«¬¡G" . $_FILES["upfile"]["type"] . "<BR>";
echo "¼È¦sÀɦW¡G" . $_FILES["upfile"]["tmp_name"] . "<BR>";
move_uploaded_file($_FILES["upfile"]["tmp_name"], "file\\" . $_FILES["upfile"]["name"]);
echo "±z©Ò¤W¶ÇªºÀɮפwÀx¦s¬° " . $_FILES["upfile"]["name"];
echo "</BLOCKQUOTE>";
?>
<HR></BODY></HTML>
½Æ»s¥N½X
¼Ó¥D¼ö©«
½×¾Â¤£Åý¸ê¾ú¤ñ¸û²Lªº¤H¤U¸ü¬d¬Ýªþ¥óªº¥Î·N
EXCEL±MÄÝ°Q½×°Ï¦Û§Y¤é°_¤¤¾Ç¥Í¥H¤W·|û¤è
³Â»¶®a±Ú°Q½×°Ï ³q¥Îª©³W
OFFICE °ò¦±Ð¾Ç¼Æ¦ì¤Æ
ATX ¹q·½¨ÑÀ³¾¹¤â°Ê±Ò°Ê(¤£±µ¥D¾÷ªO±Ò°Ê)
¦Ò¼{Ãö³¬½×¾Âºô¯¸
³Â»¶®a±Ú°Q½×°ÏÁô¨pÅv¬Fµ¦»¡©ú
³Â»¶®a±Ú°Q½×°Ï ¸Û¼xª©¥D
¥Ñ½׾ÂÂà¶iªº¤¤¾Ç¥Íµ¥¯Å¥H¤W·|û,½ÐÃöª`!
14-2 ¸ê®Æ®w¹Ï¤ù¦s¨ú
¦¬ÂÃ
¤À¨É
¤ß¦w¡A¥¦w
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!
kalaam116
µoµu®ø®§
¥[¬°¦n¤Í
kalaam116
·í«eÂ÷½u
UID
5239
©«¤l
3
¥DÃD
0
ºëµØ
0
¿n¤À
3
ª÷¿ú
3
ÂI¦W
0
§@·~¨t²Î
Windows 7
³nÅ骩¥»
Office 2010
¾\ŪÅv
10
¦b½u®É¶¡
0 ¤p®É
µù¥U®É¶¡
2011-6-18
³Ì«áµn¿ý
2011-10-15
¤p¾Ç¥Í
©«¤l
3
¥DÃD
0
ºëµØ
0
¿n¤À
3
ÂI¦W
0
§@·~¨t²Î
Windows 7
³nÅ骩¥»
Office 2010
¾\ŪÅv
10
µù¥U®É¶¡
2011-6-18
³Ì«áµn¿ý
2011-10-15
4
#
µoªí©ó 2011-10-15 20:20
|
¥u¬Ý¸Ó§@ªÌ
¤W±ªº¬O¨Ï¥Î¤FAPPSERV¡A¦ý§Ú¥Î¤F§K¶OªÅ¶¡¸Õ¤S¨S¦³°ÝÃD
¤W¶ÇÀɮ׬ÛÃö¸ê°T¡G
--------------------------------------------------------------------------------
ÀɮצWºÙ¡Grammus.png
Àɮפj¤p¡G1169872
ÀÉ®×Ãþ«¬¡Gimage/x-png
¼È¦sÀɦW¡G/tmp/phphn0TaV
±z©Ò¤W¶ÇªºÀɮפwÀx¦s¬° rammus.png
--------------------------------------------------------------------------------
¥i¬O§Ú§ä¤£¨ì¤W¸ü¤Fªº¤å¥ó...
TOP
kalaam116
µoµu®ø®§
¥[¬°¦n¤Í
kalaam116
·í«eÂ÷½u
UID
5239
©«¤l
3
¥DÃD
0
ºëµØ
0
¿n¤À
3
ª÷¿ú
3
ÂI¦W
0
§@·~¨t²Î
Windows 7
³nÅ骩¥»
Office 2010
¾\ŪÅv
10
¦b½u®É¶¡
0 ¤p®É
µù¥U®É¶¡
2011-6-18
³Ì«áµn¿ý
2011-10-15
¤p¾Ç¥Í
©«¤l
3
¥DÃD
0
ºëµØ
0
¿n¤À
3
ÂI¦W
0
§@·~¨t²Î
Windows 7
³nÅ骩¥»
Office 2010
¾\ŪÅv
10
µù¥U®É¶¡
2011-6-18
³Ì«áµn¿ý
2011-10-15
3
#
µoªí©ó 2011-10-15 20:12
|
¥u¬Ý¸Ó§@ªÌ
¤W¶ÇÀɮ׬ÛÃö¸ê°T¡G
--------------------------------------------------------------------------------
ÀɮצWºÙ¡Grammus.png
Àɮפj¤p¡G1169872
ÀÉ®×Ãþ«¬¡Gimage/x-png
¼È¦sÀɦW¡GC:\Windows\Temp\phpE6DF.tmp
Warning: move_uploaded_file(file\rammus.png) [function.move-uploaded-file]: failed to open stream: No such file or directory in C:\AppServ\www\upload\mygetfilen.php on line 14
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\Windows\Temp\phpE6DF.tmp' to 'file\rammus.png' in C:\AppServ\www\upload\mygetfilen.php on line 14
±z©Ò¤W¶ÇªºÀɮפwÀx¦s¬° rammus.png
TOP
¤p»x
µoµu®ø®§
¥[¬°¦n¤Í
¤p»x
(¤p»x)
·í«eÂ÷½u
´¿¸g¤]¬O¤ô¹q¤u
UID
9
©«¤l
1193
¥DÃD
394
ºëµØ
113
¿n¤À
1747
ª÷¿ú
1747
ÂI¦W
1
§@·~¨t²Î
Vista
³nÅ骩¥»
Office 2003
¾\ŪÅv
200
©Ê§O
¨k
¨Ó¦Û
¥xÆW
¦b½u®É¶¡
491 ¤p®É
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2024-12-20
¡@¼ÊºÙ:
¤p»x
¡@ÀY»Î:
´¿¸g¤]¬O¤ô¹q¤u
ºÞ²zû
©«¤l
1193
¥DÃD
394
ºëµØ
113
¿n¤À
1747
ÂI¦W
1
§@·~¨t²Î
Vista
³nÅ骩¥»
Office 2003
¾\ŪÅv
200
©Ê§O
¨k
¨Ó¦Û
¥xÆW
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2024-12-20
2
#
µoªí©ó 2010-6-14 01:02
|
¥u¬Ý¸Ó§@ªÌ
n¨ú±oÀɮ׬ÛÃö¸ê°T¡A¥²¶·§Q¥Î¡u$_FILES¡vÅܼư}¦C¡G
$_FILE[ªí³æ¤¤ªºFILEÄæ¦ì¤¸¥ó¦W][¤W¶ÇªºÀÉ®×ÄÝ©Ê]
½Æ»s¥N½X
¤W¶ÇªºÀÉ®×Äݩʦ³¤U¦C¼ÆºØ¡G
name¡G¤W¶ÇÀɮתºì©l¦WºÙ¡C
size¡G¤W¶ÇÀɮתºªÅ¶¡¤j¤p¡]Àɮפj¤p¡^¡C
type¡G¤W¶ÇÀɮתº¸ê®ÆÃþ«¬¡C
tmp_name¡GPHPµ{¦¡±µ¦¬¤W¶ÇÀɮ׫á¡A¥¼¤W¶ÇÀɮשÒq©wªº¼È®É¦WºÙ¡C
move_upload_file()¨ç¼Æ¡G
bool move_uploaded_file ( string filename, string destination)
½Æ»s¥N½X
¦]¬°ÀɮפW¶Ç«á¡A¸ÓÀÉ®×±N³Q©ñ¦Ü©ó¼È¦s¥Ø¿ý¤¤¡A·íµ{¦¡°õ¦æ§¹²¦«á¡A³oÓ¤W¶ÇÀÉ®×±N·|³Q§R°£¡A¦]¦¹¡A¥²¶·¨Ï¥Îmove_upload_file()¨ç¼Æ±N¦¹¤W¶ÇÀɲ¾¨ì§ÚÌ«ü©wªº¦s©ñ¦ì¸m¥h¡C
¤W¶ÇÀɮתº¦s©ñ¦ì¸m¡A¤]´N¬O©ñ¸m¤W¶ÇÀɮתº¥Ø¿ý¸ê®Æ§¨¡A¨ä¼g¤JªºÅv¥²¶·¥´¶}¡A³o¼Ëmove_upload_file()¨ç¼Æ¤~¯à¶¶§Q±N¦¹¤W¶ÇÀɲ¾¨ì§ÚÌ«ü©wªº¦s©ñ¦ì¸m¥h¡C
¤U¸ü
(47.84 KB)
2010-6-14 01:00
¯S§O¤p¤ß¡G
¦pªG¤W¶ÇÀɮתº¤j¤p¬O0¡A«hmove_upload_file()¨ç¼Æ¦b·h²¾¼È¦sÀɨì«ü©w¦ì¸m®É±N·|²£¥Í¿ù»~¡A©Ò¥H¦bmove_upload_file()¨ç¼Æ°õ¦æ¤§«e¡A¡A§ÚÌÀ³¸Ó³z¹LÀɮפj¤pªºÀËÅç¨Ó¹w¨¾¿ù»~¡G½d¨Òmygetfilen2.php
<HTML>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>³æÀɮפW¶Ç</title>
</head>
<BODY><H3>¤W¶ÇÀɮ׬ÛÃö¸ê°T¡G<HR></H3>
<?
echo "<BLOCKQUOTE>";
echo "ÀɮצWºÙ¡G" . $_FILES["upfile"]["name"] . "<BR>";
echo "Àɮפj¤p¡G" . $_FILES["upfile"]["size"] . "<BR>";
echo "ÀÉ®×Ãþ«¬¡G" . $_FILES["upfile"]["type"] . "<BR>";
echo "¼È¦sÀɦW¡G" . $_FILES["upfile"]["tmp_name"] . "<BR>";
//ÀËÅçÀɮפj¤p¬O§_¤j©ó0
if ( $_FILES["upfile"]["size"] > 0 )
{
move_uploaded_file($_FILES["upfile"]["tmp_name"], "file\\" . $_FILES["upfile"]["name"]);
echo "±z©Ò¤W¶ÇªºÀɮפwÀx¦s¬° " . $_FILES["upfile"]["name"];
}
else
{
echo "¤W¶ÇÀɮ׿ù»~!±z¶Ç°eªº¬OªÅÀÉ®×!!";
}
echo "</BLOCKQUOTE>";
?>
<HR></BODY></HTML>
½Æ»s¥N½X
°£¤FÀɮפj¤p¤£¯à¬°0¥~¡A§Ṳ́]À³¸Ó¨î¤W¶ÇÀɮתº³Ì¤jÅé¿n¡A§K±o§Ú̪º¦øªA¾¹³Q¤j«¬ªºÀÉ®×µ¹¶ë¼É¤F¡I
//ÀËÅçÀɮפj¤p¬O§_¤j©ó0
if ( $_FILES["upfile"]["size"] <= 0)
{
echo "¤W¶ÇÀɮ׿ù»~!±z¶Ç°eªº¬OªÅÀÉ®×!!";
}
//ÀËÅçÀÉ®×Åé¿n¬O§_¹L¤j
else if ( $_FILES["upfile"]["size"] > 50000)
{
echo "¤W¶ÇÀɮ׿ù»~!±z¶Ç°eªºÀɮפj©ó50k!!";
}
else
{
move_uploaded_file($_FILES["upfile"]["tmp_name"], "file\\" . $_FILES["upfile"]["name"]);
echo "±z©Ò¤W¶ÇªºÀɮפwÀx¦s¬° " . $_FILES["upfile"]["name"];
}
½Æ»s¥N½X
¤ß¦w¡A¥¦w
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!
TOP
ÀR«ä¦Û¦b :
¶¢¤HµL¼Ö½ì¡A¦£¤HµL¬O«D¡C
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
EXCEL±MÄÝ°Q½×°Ï
Excel£¸¯ë°Ï
Excelµ{¦¡°Ï
¶i¶¥À³¥Î±M°Ï
OFFICE ¨t¦C
Word
PowerPoint
Access
Office¤£¤À°Ï
µ{¦¡»y¨¥
VB »P VB.Net
C »P C#
Java »P J#
µ{¦¡³]p¤£¤À°Ï
¸ê®Æ®w
ORACLE
My SQL
MS SQL
ºô¶³]p
ASP »P ASP.NET
PHP
PHP+MySQL ¤Jªù¹ê§@
JavaScript
FLASH / ActionScript
HTM/ HTML/ CSS
ºô¶³]p¤£¤À°Ï
¹q¸£»P§@·~¨t²Î
¹q¸£¦UºØµwÅé°Q½×
¤@¯ë¹q¸£³nÅé°Q½×
½×¾Â¨Æ°È
ºÞ²z¤½§i
§ë¶D¤Ï¬M
·s¤â´ú¸Õ
·R ¡E ¥Í¬¡
¤½¯q§G§iÄæ
¥Í¬¡»P·P°Ê
[¦¬Âæ¹¥DÃD]
[Ãöª`¦¹¥DÃDªº·s¦^´_]
[³q¹L QQ¡BMSN ¤À¨Éµ¹ªB¤Í]
¥Ó½Ð¤Í±¡Ãì±µ
Facebook¯»µ·