Re: [PHP] upload picture: limit size problems

2004-01-14 Thread Jason Wong
On Thursday 15 January 2004 12:03, Matt Hedges wrote: > with ya'lls help I've gotten a php that uploads only a jpg... now I'm > trying to add a constraint that limits the width and size... I've been > reading the manual (don't understand the error_messages)... and can't > figure it out... this is

[PHP] upload picture: limit size problems

2004-01-14 Thread Matt Hedges
Hello, with ya'lls help I've gotten a php that uploads only a jpg... now I'm trying to add a constraint that limits the width and size... I've been reading the manual (don't understand the error_messages)... and can't figure it out... this is what I have so far: http://www.php.net/) To unsubscrib

Re: [PHP] upload picture

2004-01-07 Thread Chris Shiflett
--- Chris Shiflett <[EMAIL PROTECTED]> wrote: > All you want to do is open a file, write to it, and close it. I should have read all of your question. :-) I believe you will find that the uploaded file is already on the filesystem, and you can look in $_FILES to find the location. Hope that help

Re: [PHP] upload picture

2004-01-07 Thread Blake Schroeder
Matt This form is for rtf files you will need to make some changes for it. -Blake Matt Hedges wrote: Hello... could anyone please tell me how to upload a picture using php? I have this but don't know how to specify how to store the pictures on the server... thanks! thanks Matt -- +

Re: [PHP] upload picture

2004-01-07 Thread Chris Shiflett
--- Matt Hedges <[EMAIL PROTECTED]> wrote: > Hello... could anyone please tell me how to upload a picture using > php? > > I have this > > > > but don't know how to specify how to store the pictures on the server. You should look here: http://www.php.net/manual/en/ref.filesystem.php All you

Re: [PHP] upload picture

2004-01-07 Thread Blake Schroeder
This works for me My Form ?> Send this file: savefile.php // In PHP earlier then 4.1.0, $HTTP_POST_FILES should be used instead of // $_FILES. In PHP earlier then 4.0.3, use copy() and is_uploaded_file() // instead of move_uploaded_file $uploaddir = '/fullDirectoryPath'; $uploadfile = $

Re: [PHP] upload picture

2004-01-07 Thread Richard Davey
Hello Matt, Wednesday, January 7, 2004, 7:26:31 PM, you wrote: MH> Well, it's a start :) The size attribute isn't any use though. MH> but don't know how to specify how to store the pictures on the server... MH> thanks! See: Chapter 18. Handling file uploads of the PHP Manual for source code e

[PHP] upload picture

2004-01-07 Thread Matt Hedges
Hello... could anyone please tell me how to upload a picture using php? I have this but don't know how to specify how to store the pictures on the server... thanks! thanks Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Upload picture files

2002-05-10 Thread Michael Barker
Download and install gallery and have the client install gallery remote. :-D http://gallery.sourceforge.net/ On Friday 10 May 2002 11:13 am, Diana Castillo wrote: > What utility or function can I use to upload pictures from the users > computer in a form ? -- PHP General Mailing List (http://w

RE: [PHP] Upload picture files

2002-05-10 Thread Jay Blanchard
[snip] What utility or function can I use to upload pictures from the users computer in a form ? [/snip] RTFM at http://www.php.net/manual/en/features.file-upload.php HTH! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Upload picture files

2002-05-10 Thread Diana Castillo
What utility or function can I use to upload pictures from the users computer in a form ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php