php run function on all images from one dir in recursive mode (noob)

Posted by Steve on Super User See other posts from Super User or by Steve
Published on 2010-04-23T12:36:40Z Indexed on 2010/04/23 12:44 UTC
Read the original article Hit count: 343

Filed under:
|
|
|

hey guyz i have a function

 $result = create_watermark( 'input_file_name' ,'output_file_name');

i have dir called /images n have 500 images in it and all images are link images_(some_unknown_numbers).png (all png) now i want run them thru function in loop and want out put like /markedimage/images_1.png images_2.png images_3.png

i need help how can i run them in loop and how out put name can change

want run script on Ubuntu so we can use shell too

if any body want check function it is here

http://paste2.org/p/789149

plz provide me code because i m newbie

thanks in advance

© Super User or respective owner

php run function on all images from one dir in recursive mode (noob)

Posted by Steve on Stack Overflow See other posts from Stack Overflow or by Steve
Published on 2010-04-23T12:36:40Z Indexed on 2010/04/23 12:53 UTC
Read the original article Hit count: 343

Filed under:
|
|
|

hey guyz i have a function

 $result = create_watermark( 'input_file_name' ,'output_file_name');

i have dir called /images n have 500 images in it and all images are link images_(some_unknown_numbers).png (all png) now i want run them thru function in loop and want out put like /markedimage/images_1.png images_2.png images_3.png

i need help how can i run them in loop and how out put name can change

want run script on Ubuntu so we can use shell too

if any body want check function it is here

http://paste2.org/p/789149

plz provide me code because i m newbie

thanks in advance

© Stack Overflow or respective owner

Related posts about php

Related posts about directory