|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/thomasjolly1/admin/imageuploadsystem/ |
Upload File : |
<%
<!--#include file="../Connections/dsPets.asp" -->
%>
<!-- You need to have the Enctype Set To Form Data -->
<form action="edit_pro.asp" method="post" enctype="multipart/form-data" name="thisInputForm" id="thisInputForm" >
Sample Field<br>:
<input type="text" name="sample_field" value="" size="55"><br><br>
Image Uploader:<br>
<input type="file" name="image_field_in_database" size="40" maxlength="40" value=""><br>
<% if rs("image_field_in_database") <> "" then %>
<a href="/images/<%= rs("image_field_in_database") %>" target="_blank">« view image »</a>
<a href="javascript: if (confirm('Are you sure you want to delete this file?')) {window.location.href='edit_pro.asp?id=<%= rs("id") %>&action=deleteImg'};void(0);">« delete image »</a><br><% end if %>
<br>
<input type="hidden" name="id" value="<%= rs("id")%>">
<input type="submit" name="submit" value="Submit">
</form>