|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
I am using a script that allows users to upload a image with a record to a database. I have also installed a thumbnailer http://www.go.dlr.de/fresh/linux/src/.warix/jpgtn-1.04.tar.gz.html which works fine given the commands through telnet. How can this be auto run when the user uploads to generate a thumbnail in addition to the image uploaded?
|
|
#2
|
|||
|
|||
|
Use the system() command.
In the script which handles the upload, call the system() command the way you would do it in telnet. But use the just uploaded file instead. ------------------ Good luck, Bas ------------------ E-mail me at: b.vandermeijden@pecoma.nl |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > thumbnailer |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|