´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net)
ID¿Í Password¸¦ ÀÔ·ÂÇϼ¼¿ä.
ÀÔ±¹Çϱâ
|
¿µÁÖ±Ç ½Åû
¸öºÎ¸² °ñ¶ó°ñ¶ó
¼Ò±Ù¼Ò±Ù
µµ¶õµµ¶õ
³«¼¸¶´ç
Âø°¢ÇѾÆÀÌ
¼ýÀÚ¸ÂÃß±â
¼Ò¿øºô±â
ÈçÀû³²±â±â
²Þ¼Ó¿©Çà
Ä£±¸Áý ³î·¯°¡±â
¸ðµÎµå¸²´ÔÀÇ È¨
î¤éÞ´ÔÀÇ È¨
Çö¿ì´ÔÀÇ È¨
º°¾ÆÇØ´ÔÀÇ È¨
ÇÞ»ì´ÔÀÇ È¨
À̳ª´Ï´ÔÀÇ È¨
À¯¸®¾Ë´ÔÀÇ È¨
³È³ÈÀÌ´ÔÀÇ È¨
²ÀÁö´ÔÀÇ È¨
´ë¼º´ÔÀÇ È¨
¼öÁ¤ÇϽǶ§´Â ÇʼöÇ׸ñÀ» ¸ðµÎ ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù.
À̸§
*
°øÁö»çÇ×
ºñ°ø°³
HTML »ç¿ë
Á¦¸ñ
*
¼±ÅÃ
ÀÚÀÛ
»ç¶û
À¯¸Ó
ÀÚÀ¯
̵̧
¾Ë¸²
Áú¹®
±âŸ
³»¿ë
*
Á¤¸» Á˼Û...¸ÅÀÏ Áú¹®¸¸ µå¸®´Â±º¿ä... ´Ù¸§ÀÌ ¾Æ´Ï¶ó ¾Æ·¡ ºÎºÐÀÇ ¹®Á¦´Â ÇØ°áÇß½À´Ï´Ù.±×·±µ¥ °¡Àå Áß¿äÇÑ ÈÀÏ ¾÷·Îµå°¡ µÇÁö ¾Ê´Â±º¿ä.Ȥ½Ã ¹®¹ý »óÀÇ À߸øÀÌ Àִ°ÍÀº ¾Æ´ÑÁö Çؼ¿ä. »çÀÌÆ®°¶·°½Ã¸¦ »ç¿ëÇÏ·Á°í¿ä... ÀԷ°ªÀÌ Çϳªµµ ÀúÀåÀÌ µÇÁö ¾Ê°í ÀÖ¾¹´Ï´Ù. Ȥ½Ã À߸øµÈ ±¸¹®ÀÌ¶óµµ »ç¿ëÇÏ°ÍÀÎÁö..... Response.Buffer=true Response.Expires=0 Set Conn=Server.CreateObject("ADODB.Connection") Conn.Open "DSN=sell;UID=;PWD=" SQL1 = "SELECT MAX(num) as m FROM myboard" '======>Àǽɰ¡´Â ºÎºÐ Set rs = Conn.Execute( SQL1 ) '±ÛÀÇ °íÀ¯¹øÈ£¸¦ ±¸ÇÑ´Ù. if rs("m") <> 0 then no = rs("m")+1 else no = 1 end if set UploadForm = Server.CreateObject("SiteGalaxyUpload.Form") '¾÷·Îµå¿ë °´Ã¼¸¦ »ý¼ºÇÑ´Ù. upddate=year(now())&"-"&month(now())&"-"&day(now()) 'ÇöÀ糯¥¸¦ ±¸ÇÑ´Ù. brandname = UploadForm("brandname") '¸ðµç ÆûÀÇ requestµÈ °ªÀ» ÀÌ·± ½ÄÀ¸·Î ¹Þ´Â´Ù. brandname = Replace(brandname,"'","''") brandname = replace(brandname,"<","< ") product = UploadForm("product") 'product product = Replace(product,"'","''") product = replace(product,"<","< ") short = UploadForm("short") 'short product description short = Replace(short,"'","''") short = replace(short,"<","< ") mcode = UploadForm("mcode") 'mscode mcode = Replace(mcode,"'","''") mcode = replace(mcode,"<","< ") country = UploadForm("country") 'country of origine country = Replace(country,"'","''") country = replace(country,"<","< ") specification = UploadForm("specification") 'CountÇ׸ñ ¼¼ºÎÀÚ·á.... specification = Replace(specification,"'","''") specification = replace(specification,"<","< ") filename = UploadForm("filename") 'filename filename = Replace(filename,"'","''") filename = replace(filename,"<","< ") filesize = UploadForm("filesize") 'filesize:¼ýÀÚ filesize = Replace(filesize,"'","''") filesize = replace(filesize,"<","< ") company = UploadForm("company") 'company company = Replace(company,"'","''") company = replace(company,"<","< ") url = UploadForm("url") 'url url = Replace(url,"'","''") url = replace(url,"<","< ") addre = UploadForm("addre") 'address addre = Replace(addre,"'","''") addre = replace(addre,"<","< ") contactperson = UploadForm("contactperson") 'contactperson contactperson = Replace(contactperson,"'","''") contactperson = replace(contactperson,"<","< ") tel = UploadForm("tel") 'tel tel = Replace(tel,"'","''") tel = replace(tel,"<","< ") fax= UploadForm("fax") 'fax fax = Replace(fax,"'","''") fax = replace(fax,"<","< ") email= UploadForm("email") 'email email = Replace(email,"'","''") email = replace(email,"<","< ") packing= UploadForm("packing") 'packing method packing = Replace(packing,"'","''") packing = replace(packing,"<","< ") payment= UploadForm("payment") ' Terms of payment payment = Replace(payment,"'","''") payment = replace(payment,"<","< ") fob= UploadForm("fob") 'Fob price and Fob port fob = Replace(fob,"'","''") fob = replace(fob,"<","< ") markets= UploadForm("markets") 'main export markets markets = Replace(markets,"'","''") markets = replace(markets,"<","< ") pwd = UploadForm("pwd") pwd = replace(pwd,"<","< ") strDirectory = "C:\Inetpub\wwwroot\sell\image" 'ÀúÀåÇÒ µð·ºÅ丮 ÁöÁ¤ filebe = UploadForm("file1") if filebe <> "" then attach_file = UploadForm("file1").FilePath filename = Mid(attach_file, InstrRev(attach_file, "\") + 1) ' ¿Ã¸®´Â ÆÄÀÏÀ̸§¸¸ »Ì¾Æ³¿. strFile2 = Mid(filename ,1, Instr(filename , ".")-1) ' ÆÄÀÏ È®ÀåÀÚ¸¦ Á¦°ÅÇÑ ÆÄÀÏ À̸§À» ±¸ÇÔ. strExt = Mid(filename ,Instr(filename , ".")+1) 'È®ÀåÀÚ¸¦ ±¸ÇÔ. ' ÆÄÀÏ °ü·Ã ±âº» ÄÞÆ÷³ÍÆ®¸¦ »ý¼º Set fso = CreateObject("Scripting.FileSystemObject") bExist = True ' ¿ì¼± ÆÄÀÏÀÌ Á¸ÀçÇÑ´Ù°í °¡Á¤ strFileNameTemp = strDirectory & filename ' ÀúÀåÇÒ ÆÄÀÏÀÇ ¿ÏÀüÇÑ À̸§À» ¸¸µê countfilename = 0 ' ÆÄÀÏÀÌ Á¸ÀçÇÒ °æ¿ì, À̸§ µÚ¿¡ ºÙÀÏ ¼ýÀÚ¸¦ ¼¼ÆÃÇÔ. While bExist = True ' ¿ì¼± ÀÖ´Ù°í »ý°¢ÇÔ. If (fso.FileExists(strFileNameTemp )) Then ' ÆÄÀÏÀÌ ÀÖÀ¸¸é, ¿©±â·Î µé¾î ¿É´Ï´Ù. 'ÆÄÀÏ À̸§¿¡ ¼ýÀÚ¸¦ ºÙÀÎ »õ·Î¿î ÆÄÀÏ À̸§ »ý¼º countfilename = countfilename + 1 strFileNameTemp = strDirectory & strFile2 & countfilename & "." & strExt filename = strFile2 & countfilename & "." & strExt else filename = filename bExist = False ' ÆÄÀÏÀÌ Á¸ÀçÇÏÁö ¾ÊÀ¸¹Ç·Î. End If Wend Set fso = nothing ' Scripting.FileSystemObject¸¦ ´Ý¾ÆÁÜ. strFileName = strFileNameTemp ' À§¿¡¼ ±¸ÇÑ À̸§À» ÀúÀåÇÒ¶§ »ç¿ëÇϱâ À§ÇØ ' ÀúÀåÇÒ ÆÄÀÏÀ̸§À» ¸¸µê. filesize = UploadForm("file1").Size UploadForm("file1").SaveAs strFileName end if
Ãß°¡ÇÒ À̹ÌÁö¸¦ ÀÔ·ÂÇϼ¼¿ä.
À̹ÌÁö 1
À̹ÌÁö¼³¸í 1
Ãß°¡ÇÒ ÀڷḦ ÀÔ·ÂÇϼ¼¿ä.
ÀÚ·á 1
ÀÚ·á¼³¸í 1
Ãß°¡ÇÒ ½ÎÀÌÆ®¸¦ ÀÔ·ÂÇϼ¼¿ä.
°ü·Ã½ÎÀÌÆ® 1
½ÎÀÌÆ®¼³¸í 1
Password
*