...

View Full Version : how create save button for image?



aliatwa2020
07-12-2011, 06:18 PM
how create save button for image?

aliatwa2020
07-12-2011, 06:24 PM
<?include ('class.image.php');
####################################################################################
# #
####################################################################################
$img= new imager();
$img->upload_img=imagecreatefromjpeg('300px-Oman_Map.jpg'); #
$img->textfontsize=80;
$img->textsx=30; ## ا
$img->textsy=350; ##
$img->textcoler='#ffffff';
$img->textfont='arial.ttf';
$img->text='aliatwa2020';
$img->write();?>

aliatwa2020
07-12-2011, 07:23 PM
please help meeeeeeeeeeeeeeeeeeeeeeee

teedoff
07-12-2011, 07:24 PM
Well since you're posting php code, maybe you should pose this question in the php forum? This forum is for html/css.

aliatwa2020
07-12-2011, 07:34 PM
o.k
i know but i want do this with html?
please help me

teedoff
07-12-2011, 07:39 PM
Try googling "html forms and button attributes".

Tech.Inno
07-12-2011, 08:02 PM
Try here, it has multiple solutions:
http://forums.digitalpoint.com/showthread.php?t=702678

aliatwa2020
07-13-2011, 07:37 PM
up
up
up
up
up

teedoff
07-13-2011, 07:48 PM
Dude come on..lol Did you at least TRY and google this?



<form action="somePage.html">
<input type="file" />
<input type="submit" value="Submit" />
</form>

Thats about as basic as you can get. Not sure what you're going to do with the image. Are you going to display it on your action page? save it to a database? what?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum