PDA

View Full Version : Changing file dimensions and size in PHP


ptrcklgrs
10-31-2006, 04:05 AM
I have a successful Picture-> Flash-> PHP-> Server upload system. Now i want to change file Size but i dont know how. And everytime i look it up, it just tells me theres a limit.

Is there any way to change the permanent width and height of the picture on the server. Im making a bunch of Picture ID thumbs so i dont want them to be 100KB each.

I pretty sure you have to do it on the PHP part but i cant find how.

Thanks

snapple
11-04-2006, 08:43 AM
Say you have a form:


<form enctype="multipart/form-data" action="phpScripts/uploadTemplateImage.php" method="post">
<input type="hidden" name="max_file_size" value="2000000">


max_file_size

Regards, snapple