I have a simple question...
First look at following html code:
<form action="example.php" method="post" enctype="multipart/form-data">
<input type="text" name="mailaddress">
<input type="file" name="image">
<input type="submit" value="Submit">
This code will show one textbox ,one file upload and one submit button that a user can fill them and click on submit button to post information to example.php
But i want to post mail address and image to example.php without a user and showing a form.
mail address is already in my database and image is in my directory....I just want to "POST" them to a specific php file
I know this can be done with curl....So, anybody can do it?