I am using PHP GD lib to resize an image in an upload function.
The following code does the resize but I don't want the image displayed at this point.
It should be possible to run the external file without returning anything but I am at a loss as to how it is done.
I thought of system, exec etc. but the syntax and method elude me.
I just need to run this command.
Keith
The following code does the resize but I don't want the image displayed at this point.
Code:
print "<img border='0' src='[URL unfurl="true"]http://www.XXXXXXXXXX.co.uk/makethu.php?imnam=$JustFile&maxwid=250&maxhi=180&blow=17&norat=1'>";[/URL]
It should be possible to run the external file without returning anything but I am at a loss as to how it is done.
I thought of system, exec etc. but the syntax and method elude me.
I just need to run this command.
Code:
makethu.php?imnam=$JustFile&maxwid=250&maxhi=180&blow=17&norat=1
Keith