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

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 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