This article is an example of a PHP upload image to obtain the path and to the form of the method of assigning values. Share to everyone for your reference, specific as follows:
1. Call Method Example:
Large Map Path:
<input type= "text" name= "Bigimageurl" id= "Bigimageurl" "value=" ">
<iframe src=" Uppic.php?id=bigimageurl "Width=" "height=" frameborder= "0" scrolling= "no" ></iframe>
Small chart Path:
<input type= "text" name= "Smallimageurl" id= "Smallimageurl" "value=" ">
<iframe src=" uppic.php?id= Smallimageurl "width=" "height=" frameborder= "0" scrolling= "no" ></iframe>
2. uppic.php
<?php header ("content-type:text/html;charset=gb2312");?> <! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" "http://www.w3c.org/TR/1999/REC-html401-19991224/ Loose.dtd ">
Note: Different text boxes need to define IDs, iframe url:uppic.php?id= text box IDs
For more information about PHP picture Operations Interested readers can view the site topics: "PHP graphics and pictures operating skills summary"
I hope this article will help you with the PHP program design.