PrinceOfAbyss: One very simple and quick question. When I upload some files, and I haven't set from the beginning the $uploader->SaveDirectory property, nor have I used after the upload the $mvcfile->MoveTo method to move them to a desired location, WHERE do the files go?
- <?php require_once "phpuploader/include_phpuploader.php" ?>
- <html>
- <body>
- <form id="form1" method="POST">
- <?php
- $uploader=new PhpUploader();
- $uploader->Name="myuploader";
- uploader->Render();
- ?>
- </form>
- <?php
-
- $fileguid=@$_POST["myuploader"];
- if($fileguid)
- {
-
- $mvcfile=$uploader->GetUploadedFile($fileguid);
- if($mvcfile)
- {
-
- echo($mvcfile->FileName);
-
- echo($mvcfile->FilePath);
-
- echo($mvcfile->FileSize);
-
-
- $mvcfile->CopyTo("/uploads");
-
- $mvcfile->MoveTo("/uploads");
-
- $mvcfile->Delete();
- }
- }
- ?>
- </body>
- </html>
More information:
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx