A dumb PHP question
Date: 12/04/05
(WebDesign) Keywords: php
I plowing along, trying to get a PHP script to work. I've using some pieces of code that I've gotten from other various sites saved as .php files. One I'm using displays a thumbnail of a filename that is past to it. No problem. I echo out a img src tag in my main script with the external filename and arguments and it displays it fine.
Now the problem. After chosing a thumbnail, entering some form elements, etc, it goes to another script that is suppose to resize the files in a directory that was chosen. It doesn't display the files, just copies them over to a new directory. This code is in a external file (in the same directory) named resizeandwatermark.php. How do I call this file from within (and pass it it's needed values, aka source and destiante filenames) my main php script?
I appreciate the help. I'm banging my head against this.
Chance
Source: http://www.livejournal.com/community/webdesign/1026408.html