RE: [PHP-DB] Picture Upload
Me either Luke Woollard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Fredrik de Vibe Sent: Wednesday, 12 March 2003 12:51 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Picture Upload [EMAIL PROTECTED] (Dallas Freeman) writes: > I have asked my host to update the php software, as for now, I need to > know what the lines for changing the size of a picture is. I couldn't > see any command lines for it, unless it is something different, I don't > know, so could you please show me. Afaicr, there is an excellent recipe for doing just that in The Manual, under image functions. > I also need to know, if there is a possibility that php can change the > size of an image before it uploads it to the server (so it changes size > on the end-user's computer & not on the server - that way there would be > a shorter upload time). PHP is server side, and can't do anything on the client side (apart from reading and writing cookies, if the user allows it). I can't see any other solution to this than to tell the users to resize the images themselves. -- --Fredrik "Reality is that which, when you stop believing in it, doesn't go away". -- Philip K. Dick -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Picture Upload
[EMAIL PROTECTED] (Dallas Freeman) writes: > I have asked my host to update the php software, as for now, I need to > know what the lines for changing the size of a picture is. I couldn't > see any command lines for it, unless it is something different, I don't > know, so could you please show me. Afaicr, there is an excellent recipe for doing just that in The Manual, under image functions. > I also need to know, if there is a possibility that php can change the > size of an image before it uploads it to the server (so it changes size > on the end-user's computer & not on the server - that way there would be > a shorter upload time). PHP is server side, and can't do anything on the client side (apart from reading and writing cookies, if the user allows it). I can't see any other solution to this than to tell the users to resize the images themselves. -- --Fredrik "Reality is that which, when you stop believing in it, doesn't go away". -- Philip K. Dick -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DB] Picture Upload
I have asked my host to update the php software, as for now, I need to know what the lines for changing the size of a picture is. I couldn't see any command lines for it, unless it is something different, I don't know, so could you please show me. I also need to know, if there is a possibility that php can change the size of an image before it uploads it to the server (so it changes size on the end-user's computer & not on the server - that way there would be a shorter upload time). Thanking You, Dallas Freeman -Original Message- From: Luke Woollard [mailto:[EMAIL PROTECTED] Sent: Tuesday, 11 March 2003 4:17 PM To: Dallas Freeman Cc: PHP-db Subject: RE: [PHP-DB] Picture Upload use the GD Library functions - look up on php.net The GD library is available from http://www.boutell.com/ It is included by default with PHP 4.3.x NOTE: This is a question for [EMAIL PROTECTED] -Original Message- From: Dallas Freeman [mailto:[EMAIL PROTECTED] Sent: Tuesday, 11 March 2003 5:07 PM To: Subject: [PHP-DB] Picture Upload Is there a possibility that you can resize an image before uploading to the server? If so, how? Thanks, Dallas Freeman -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DB] Picture Upload
use the GD Library functions - look up on php.net The GD library is available from http://www.boutell.com/ It is included by default with PHP 4.3.x NOTE: This is a question for [EMAIL PROTECTED] -Original Message- From: Dallas Freeman [mailto:[EMAIL PROTECTED] Sent: Tuesday, 11 March 2003 5:07 PM To: Subject: [PHP-DB] Picture Upload Is there a possibility that you can resize an image before uploading to the server? If so, how? Thanks, Dallas Freeman -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php