WN

WN (https://www.wn.se/forum/index.php)
-   Serversidans teknologier (https://www.wn.se/forum/forumdisplay.php?f=4)
-   -   Från Smartupload till W3 Upload? (https://www.wn.se/forum/showthread.php?t=4976)

Milad 2004-12-13 22:33

Hej,

Så här ser min kod ut. Den laddar upp bilder till själva servern men nu är det så att jag vill inte använda Smartupload längre och vill gå över till W3 upload men vet någon hur nedan kod skulle se ut då?

' Variables
Dim mySmartUpload
Dim intCount

' Object creation
Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")

' Only allow pictures
mySmartUpload.AllowedFilesList = "jpg,jpeg,gif"

' Upload
mySmartUpload.Upload
intCount = mySmartUpload.Save(Server.MapPath(galleryfolder & mySmartUpload.Form("gallery")))

Tack i förhand!


Alla tider är GMT +2. Klockan är nu 10:04.

Programvara från: vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Svensk översättning av: Anders Pettersson