Re: [PHP-WIN] Upload Files!

2008-04-18 Thread Michael Southworth
At first blush, this article may be the best place to start. It has a complete example from start to finish. In addition to what has been stated here, you will need to properly SQL escape the data before inserting and un-escape it after fetching it from the database. http://www.onlamp.com/pub/a/ph

Re: [PHP-WIN] Upload Files!

2008-04-17 Thread Jeremy O'Connor
"Jarrett Meyer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Files and all associated properties are saved in the $_FILES[] variable. > From here, you can get the file name, file size, etc. > > I would recommend that you come up with your own name for the file. My > code may not

Re: [PHP-WIN] Upload Files!

2008-04-15 Thread Jarrett Meyer
Files and all associated properties are saved in the $_FILES[] variable. From here, you can get the file name, file size, etc. I would recommend that you come up with your own name for the file. My code may not be right, but it will be close. $LocalFilePath = /path/to/local/files/ $LocalFileN

[PHP-WIN] Upload Files!

2008-04-15 Thread Matthew Gonzales
Hello, I am wondering if anyone out might be able to point me in the right direction on uploading files from a website into MySQL Databses. I am trying to create a way for members to upload files and associate them with there user profile. What data type must I use. Thanks for your help in ad

[PHP-WIN] upload files with spaces - solved

2007-09-07 Thread Gustav Wiberg
Sometimes you would have a great laugh... I thought i was that it was spaces in filename that I couldn't upload files,but it actually was the MAX_FILE_SIZE-directive that messed it up.. Thanx all of you for your help! Best regards /Gustav WIberg No virus found in this outgoing message. Ch

[PHP-WIN] upload zip then u get galery

2007-07-09 Thread bedul
i want to build a site where i can create an gallery inside.. i just send/upload 1 zip file contain 5 pic. after i upload.. the zip will extract and inside goes to image folder. can you help me? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Upload files problem

2006-02-13 Thread trystano
You need to set the correct permissions on the folder inwhich you want to upload the files into. Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Upload files problem

2006-02-13 Thread Ing. Tom�s Liendo
Hi I have problems to upload files... The error: "failed to open stream: Permission denied" I just deactivated the read-only option of the upload folder but I still having the same problem... What can I do? Thank you, Tom. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visi

[PHP-WIN] Upload to a diferent site

2004-01-22 Thread Manuel Couto
does any one know if is possible to upload an image to a diferent site from the one where the PHP script is running? something like this: Im running this script from "site1" $users_file="image1.jpg"; $copy_path="www.site2.com/images"; if(!copy($users_file, $copy_path)) { echo "A imagem não f

Re: [PHP-WIN] Upload and Download from local to server tools!( like w3Upload in asp)

2003-12-02 Thread Ignatius Reilly
PHP has a very nice FTP library. Check the manual. _ - Original Message - From: "Brent" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 02, 2003 09:53 Subject: [PHP-WIN] Upload and Download from local to server tools!

[PHP-WIN] Upload and Download from local to server tools!( like w3Upload in asp)

2003-12-02 Thread Brent
G'day, Just wondering if anyone out there knows where I can find PHP tools to upload and download files to and from a server and local machine. A asp solution can be found at http://www.dimac.net/ but asp sucks!! No need for interface or browse files names etc, I will know where the files are and

[PHP-WIN] Upload aborted with timeout

2003-08-26 Thread M.Staiger
Hello NG, for some reason we have problems with midsize to big file-uploads (around 5MB and bigger) that are performed by the website-visitors. It most likely ends in a time out (60 sec), even though the internet-connection is sufficiant (server AND client). We already tried everything (known to u

[PHP-WIN] upload question

2003-03-29 Thread Anthony Ritter
Greetings all, Using PHP 4.1.1 / Apache Server / MS Win 98 / IE 5.5 The following script is from Julie Meloni's book PHP Fast and Easy on page 170-174. The first part is an html form in which the user browses and chooses a file to be upoloaded to the server. The script works fine in that when I

RE: [PHP-WIN] Upload big files

2003-02-19 Thread Chris Kranz
From: Matt Babineau [mailto:[EMAIL PROTECTED]] Sent: 19 February 2003 20:33 To: 'Mottaghi.'; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Upload big files I had the EXACT problem with file upload times, I could not modify this with the ini_set() function. After a phone call to my host, they were

RE: [PHP-WIN] Upload big files

2003-02-19 Thread Matt Babineau
ottaghi. [mailto:[EMAIL PROTECTED]] --> Sent: Wednesday, February 19, 2003 12:02 PM --> To: [EMAIL PROTECTED] --> Subject: [PHP-WIN] Upload big files --> --> --> Hi all, --> 1- How can i upload big files to server?? --> 2- How can i know what is the size of file before upload?

[PHP-WIN] Upload big files

2003-02-19 Thread Mottaghi.
Hi all, 1- How can i upload big files to server?? 2- How can i know what is the size of file before upload?? when i upload a big file, the code execution time was finished! i was changed the max_execution_time in php.ini but doesn't work. thanks, omid -- PHP Windows Mailing List (http://www.ph

RE: [PHP-WIN] upload file

2003-02-05 Thread fran . thomas
Have you checked it isnt your apache server timing out? -Original Message- From: Lemberger [mailto:[EMAIL PROTECTED]] Sent: 05 February 2003 14:11 To: [EMAIL PROTECTED] Subject: [PHP-WIN] upload file Hi, I cannot upload file bigger than 20 KB on my Appache Server(Windows 2000

[PHP-WIN] upload file

2003-02-05 Thread Lemberger
Hi, I cannot upload file bigger than 20 KB on my Appache Server(Windows 2000 Professional). On my php.ini, the variable : memory_limit = 50M post_max_size = 50M upload_max_filesize = 50M So, any Idea how to solve the problem ? Jonathan -- PHP Windows Mailing List (http://www.php.net/) To

[PHP-WIN] Upload File Size

2002-11-30 Thread Raheel Hussain
hi, here again i got a problem while uploading a file, I m using the following script. $file = $_FILES['userfile']['tmp_name']; print_r($file . ""); print($_FILES['userfile']['size'] . " IS THE SIZE "); print($_FILES['userfile']['type']); exit(); // Out put .. if File size is less than 1000

Re: [PHP-WIN] Upload image file

2002-11-01 Thread Shaun Thornburgh
http://www.lcounty.com - NEW FEATURES ADDED DAILY! > Licking County, Ohio, USA > 740-349-3631 > Nullum magnum ingenium sine mixtura dementiae fuit > > > > -Original Message- > > From: Shaun Thornburgh [mailto:shaun@;mania.plus.com] > > Sent: Friday, Nov

RE: [PHP-WIN] Upload image file

2002-11-01 Thread Asendorf, John
ingenium sine mixtura dementiae fuit > -Original Message- > From: Shaun Thornburgh [mailto:shaun@;mania.plus.com] > Sent: Friday, November 01, 2002 4:38 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Upload image file > > > I am attempting to upload image files to th

[PHP-WIN] Upload image file

2002-11-01 Thread Shaun Thornburgh
I am attempting to upload image files to the server from a users browser using the following code, however, the images seem to get corrupted, they look completely different and the file sizes are generally smaller, also it sometimes says file upload unsuccessful, even when it does upload the file?

RE: [PHP-WIN] upload video

2002-08-19 Thread Svensson, B.A.T. (HKG)
> Any one come across this one: > I am trying to write the php code to upload a video file. The code works > fine for images, text etc, but video comes out twice the size and > unreadable. > Any ideas? You are uploading the file in UTF-8. The moon has a bad phase with the solar activities for upl

[PHP-WIN] upload video

2002-08-19 Thread Jamie Ingram
Any one come across this one: I am trying to write the php code to upload a video file. The code works fine for images, text etc, but video comes out twice the size and unreadable. Any ideas? --

[PHP-WIN] Upload Help

2002-04-19 Thread Waldemar Brand Neto
Hi, I am a newbie in php. I have to upload an Image to a BLOB field in Mysql. But when I insert the field it save the path of the image file and not the image itself. This is the code: Upload.php Kompatscher & Cia Ltda "; echo ""; echo ""; echo "Código"; echo ""; echo ""; $i=$linha['

Re: [PHP-WIN] upload image

2001-11-28 Thread Mike Flynn
Please check a few sites to get background on this: Start here: http://www.php.net/manual/en/features.file-upload.php Then check out some tutorials: http://www.phpbuilder.com/columns/bealers2904.php3 http://www.thickbook.com/extra/php_fileupload.phtml http://www.zend.com/codex.php?id=6&single=

[PHP-WIN] upload image

2001-11-19 Thread Brian Feliciano
how can i upload an image?? i tested using copy( ) but it returned a Permission Denied error... please help...thanks. do i really have to do an ftp? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP-WIN] upload on win2k ->enctype="multipart/form-data" hides variables

2001-11-13 Thread DaNuPaPa
I'm trying the upload snippets of code found at php.net such as: Send this file: followed by a php doc with this in it: "; reset ($HTTP_POST_VARS); while (list ($key, $val) = each ($HTTP_POST_VARS)) { echo "$key => $val"; } ?> The problem is that I can't get a value for $userfile when

[PHP-WIN] upload files problem

2001-10-10 Thread Camelia Moldovan
I use a form to upload an image on a server. The problem is after I submit the information , I receive an error message Unable to create '/img//tmp/php7C2cMh': No such file or directory in /var/www/domains/mydom.com/_/form.php on line 127 I created img directory in order to keep images in

[PHP-WIN] upload file

2001-09-24 Thread Stanley Cheung
Dear all, I tried to upload file with my php script... but my win2k always reject the file which is larger than 1.5MB can anyone help me to fixed this problem. pls advise. thx! Stanley -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP-WIN] R: [PHP-WIN] Upload

2001-08-23 Thread Darvin Andrioli
Hi Daniel Are the file size less then the parameter "upload_max_filesize"? Darvin > -Messaggio originale- > Da: Sichta Daniel [mailto:[EMAIL PROTECTED]] > Inviato: giovedi 23 agosto 2001 9.23 > A: [EMAIL PROTECTED] > Oggetto: [PHP-WIN] Upload > > > H

[PHP-WIN] Upload

2001-08-22 Thread Sichta Daniel
Hi there, cfg: w2k, Apache 1.3.20, php 4.04.pl1 I have his code: This works fine for files with jpg and gif extensions but gives me error on mp3 or wav. Should I set something different ? error: Warning: Unable to open 'none' for reading: No such file or directory in upload.php on line

[PHP-WIN] Upload Problem In IIS, PHP4 with MYSQL

2001-08-10 Thread birdto
When I try to upload the binary data into my MySQL database in IIS4, I found the upload time is very long even the file size is rather small. Even worse, those small file also can't upload to my server even wait for a long time. Does anyone know what's the problem on it? Configuration: Web Serve

[PHP-WIN] Upload Problem

2001-08-07 Thread birdto
When I try to upload the binary data into my MySQL database in IIS4, I found the upload time is very long even the file size is rather small. Even worse, those small file also can't upload to my server even wait for a long time. Does anyone know what's the problem on it? Configuration: Web Serve

Re: [PHP-WIN] Upload troubles

2001-05-22 Thread FX Liagre
My File field is named FILENAME, and I copy it into ./download directory (from the uploadtemp dir defined in php.ini) In php.ini, I have parametered 2 lines : file_uploads = On; Whether to allow HTTP file uploads upload_max_filesize = 2M ; Maximum allowed size for uploaded files My for

[PHP-WIN] Upload troubles

2001-05-22 Thread Warwick Chapman (Budgee)
Howdy I am trying to get a picture gallery going on a family site. I want family members to be able to upload scans, and the gallery code to display them. I have the gallery code working fine, but I cannot get uploads to work at all. IIS 5 + Windows 2000 Professional + PHP 4.05 (I have also t

Re: [PHP-WIN] Upload file

2001-04-16 Thread Piotr Pluciennik
Hi, uploading of file via form is described in chapter 19 of PHP documentation. Look there for more explanation and examples. But the source of error in your case is probably because of incorrect name of NAME field in the form. It should be not . Don't use "$" - put only the name of the variab

[PHP-WIN] Upload file

2001-04-16 Thread Cenker Sisman
I am using following code to upload files to server. But it gives error. I am using Windows 2000 Server / IIS 5.0 Please give advice. >> @copy($sourcefile, $path . "/" . $file_name); $sourcefile is defined in form submition as -- PHP Windows Mailing List (http://www.php.net/) To uns