Re: [PHP] upload image

2006-08-25 Thread Sonja
Hi, Thanks for help, I find the error, here is the code of functions.php $imagePath, 'thumbnail' => $thumbnailPath); } /* Create a thumbnail of $srcFile and save it to $destFile. The thumbnail will be $width pixels. */ function createThumbnail($srcFile, $destFile, $width, $quality = 75) {

Re: [PHP] upload image

2006-08-24 Thread Sonja
Hi, It looks like: function uploadImage($inputName, $uploadDir) { $image = $_FILES[$inputName]; $imagePath = ''; $thumbnailPath = ''; // if a file is given if (trim($image['tmp_name']) != '') { $ext = substr(strrchr($image['name

RE: [PHP] upload image

2006-08-24 Thread Peter Lauri
$Query = "INSERT INTO filestorage (name, author, filename, filetype, filesize, filedata) VALUES ('$name', '$author', '$filename', '$filetype', '$filesize', '{$filedata}')"; /Peter -Origin

[PHP] upload image

2006-08-24 Thread Sonja
Hi, I have problems with uploading image, here is the code if(isset($_POST['txtTitle'])) { $albumId = $_POST['cboAlbum']; $imgTitle = $_POST['txtTitle']; $imgDesc = $_POST['mtxDesc']; $images= uploadImage('fleImage', GALLERY_IMG_DIR); if ($image

Re: [PHP] upload image file to my server

2005-03-31 Thread Pablo M. Rivas
Hello Tomas: take a look at: http://www.php.net/manual/en/features.file-upload.php and for an example, take a look at. http://www.tek-tips.com/faqs.cfm?fid=5699 Good Luck. On Thu, 31 Mar 2005 17:48:37 -0800, Tomás Rodriguez Orta <[EMAIL PROTECTED]> wrote: > Hello, hard people. > > I want to d

[PHP] upload image file to my server

2005-03-31 Thread Tomás Rodriguez Orta
Hello, hard people. I want to do this, I like to upload image file, What can I do?. somebody help me.? best regards TOMAS - Este correo fue escaneado en busca de virus con el MDaemon Antivirus 2.27 en el dominio de corr

Re: [PHP] upload image

2002-12-11 Thread Sean Burlington
Shaun wrote: Hi, i am using a form to upload an image to the server, is it possible to get the image size during this process so i can store it for later use (i.e. determining the size of the popup window to view the image)? thanks for your help you want getimagesize() http://www.php.net

Fw: [PHP] upload image

2002-12-11 Thread Rick Emery
t; <[EMAIL PROTECTED]> To: <> Sent: Wednesday, December 11, 2002 8:23 AM Subject: [PHP] upload image Hi, i am using a form to upload an image to the server, is it possible to get the image size during this process so i can store it for later use (i.e. determining the size of th

[PHP] upload image

2002-12-11 Thread Shaun
Hi, i am using a form to upload an image to the server, is it possible to get the image size during this process so i can store it for later use (i.e. determining the size of the popup window to view the image)? thanks for your help -- PHP General Mailing List (http://www.php.net/) To unsubs