Hi, I need help with php, I’m still rookie with php, I bought the component relate to image editor where allow me to change it such as crop, resize etc on the image.. but One of the line where it said

<img src="image.jpg" class="kess" />

That line is for showing image, and if I want to change image, I really hate to change image by type image name, what I like to use upload features, my question is that how can I write that code using upload features to upload image on the image editor.

<html>
<body>
<form action="" method="post"
enctype="multipart/form-data">
<label for="file">Filename:</label>
<input type="file" name="file" id="file" /> 
<br />
<input type="submit" name="submit" value="Submit" />

[B]<img src="image.jpg" class="kess" />[/B]

</form>
</body>
</html>

    Sounds like a simple file upload through PHP; here's the manual page that talks about handling file uploads in PHP: [man]features.file-upload[/man].

      Write a Reply...