Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CGI query

Status
Not open for further replies.

CatCox

Technical User
Dec 21, 2005
18
GB
Appreciate some help - I am trying to upload files from MYSQL using SQL query defined string, that can be entered and process it according to the query. I know I need the METHOD=POST request, not sure how to code it.

Thanks for any suggestions
 
Code:
<form action="/cgi-bin/script.cgi" method="post" enctype="multipart/form-data">

That enctype will make the file upload fields send the file's data to the "script.cgi" (to upload the file)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top