PDA

View Full Version : perl inside php?


patr547
9-26-07, 10:04 PM
i don't know much about perl, but if i have a script that i want to run every time a php is loaded (or while it is loading for that matter), is that possible?

patr547
9-26-07, 10:07 PM
actually let me be a little more specific.. what i'm trying to do is make my own custom image gallery, and i want to use imagemagick to render the thumbnails/create different sizes, etc.. so as far as i know i need to do that in perl, unless anyone knows of any other ways to do it (such as, is there a way to do this directly in php?)

alpho2k
9-26-07, 11:11 PM
I think you are looking for something like this : http://mtodorovic.developpez.com/php/gd/?page=page_1#LI

Or, take a look at the function that I recently created in php in the topic : http://forums.powweb.com/showthread.php?t=76693

Its called : creation_petite_photo, in english, its mean : create little picture (or thumbnails)

patr547
9-27-07, 09:43 AM
thanks for the reply, but it looks like i got it working with shell_exec

does powweb not offer any way to use imagemagick inside php? (like, imagick or magickwand?)