Php uploads an image to obtain the path and assigns a value to the form field ,. Php uploads an image to obtain the path and assign values to the form field. This document describes how to obtain the path for php uploads an image and assign values to the form field. For your reference, this article provides methods for obtaining paths for uploading images in php and assigning values to form fields,
This article describes how to obtain the path for uploading images in php and assign values to the form fields. We will share this with you for your reference. The details are as follows:
1. call method example:
Big Image path:
Thumbnail path:
2. uppic. php
<? Phpheader ("Content-Type: text/html; charset = GB2312");?>Upload images
<? Php $ id = $ _ GET ["id"]; // echo "id = ". $ id; switch ($ _ GET ["action"]) {case "up": upmovie ($ id); break; default: upinput ($ id); break ;} function upinput ($ id) {?>