How to use IM with PHP?
Posted: 2007-01-06T08:06:41-07:00
Ok, i want to use IM becouse it's easier than GD.
okay, what i know:
that I have to use: "exec()"
that my ISP's dir to IM is "/usr/local/bin/convert"
so what i knew is:
To describe what i want to do:
by a php-doc i upload an image to mydomain.tld/images/orginal
with help from IM i wish to make 2 tumbs of this file:
one thumb to
mydomain.tld/images/thumb100
and one to
mydomain.tld/images/thumb500
can some one help?
thanx
okay, what i know:
that I have to use: "exec()"
that my ISP's dir to IM is "/usr/local/bin/convert"
so what i knew is:
Code: Select all
exec(/usr/local/bin/convert <what comes next?>)
by a php-doc i upload an image to mydomain.tld/images/orginal
with help from IM i wish to make 2 tumbs of this file:
one thumb to
mydomain.tld/images/thumb100
and one to
mydomain.tld/images/thumb500
can some one help?
thanx