Re: [PHP-DB] File Upload in PHP

2012-02-02 Thread Trinath Somanchi
Hi- Thanks for the reply. I'm near to the solution but was struct at teh end. I have configured post_max_size, memory_limit, max_upload_filesize to '-1' and max_execution_time to ' 0'. and restarted the server. But then, Apache and Browser problems were in place. In IE6 and IE7, The connection

Re: [PHP-DB] File Upload in PHP

2012-02-01 Thread Ege Sertçetin
Hi Trinath, You can use ini_set() function to change ini settings only for your upload script. http://php.net/manual/en/function.ini-set.php However, you cannot change any parameter you want. There is a list about php.ini parameters. As I remember, you just can set PHP_INI_ALL and PHP_INI

Re: [PHP-DB] File Upload in PHP

2012-02-01 Thread Karl DeSaulniers
Sry, not better help... better luck. :) Best, Karl On Feb 1, 2012, at 7:01 AM, Karl DeSaulniers wrote: I would set post_max_size in your htaccess for the directory where your upload.php file is. Or base64 your file and upload 8Mb chunks, then reassemble and store. but I am sure someone has

Re: [PHP-DB] File Upload in PHP

2012-02-01 Thread Karl DeSaulniers
I would set post_max_size in your htaccess for the directory where your upload.php file is. Or base64 your file and upload 8Mb chunks, then reassemble and store. but I am sure someone has a better solution than I. also, I may be wrong on this too, but this is a PHP General question, not data

[PHP-DB] File Upload in PHP

2012-02-01 Thread Trinath Somanchi
Hi All- I have doubt regarding file upload in PHP. With out updating the INI file settings, Can PHP process File upload just like Apache handling Multipart post. Like, Irrespective of post_max_size being 8M, PHP must process a 15MB Post data (15MB Uploaded file.) How to work this out with PHP.

Re: [PHP-DB] File upload bug

2004-03-25 Thread Ricardo Lopes
m: "Daniel Crespo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 24, 2004 7:19 PM Subject: [PHP-DB] File upload bug > Hi all you there... > > I realized that when I try to upload a file of about 1MB or more, it doesn't > upload... Even cha

[PHP-DB] Re:RE: [PHP-DB] File upload bug

2004-03-24 Thread Daniel Crespo
e checking the setting in MySQL, since that seems to be where are uploading it to. some configureations of MySQL set a file size limit that can be loaded in at once >From: "Daniel Crespo" >To: [EMAIL PROTECTED] >Subject: [PHP-DB] File upload bug >Date: Wed, 24 Mar 2

[PHP-DB] File upload bug

2004-03-24 Thread Daniel Crespo
Hi all you there... I realized that when I try to upload a file of about 1MB or more, it doesn't upload... Even changing all the max_limit stuff at the config files of Apache and PHP... So, I don't now how to solve this. In the form, there are: In upload.php there are: With short files (u

[PHP-DB] File Upload

2004-03-16 Thread Bruno Santos
Hello all Can someone tell me why PHP give all this erros, when it really opens the file and displays all it's contents ? Uploading files... File Type: text/plain UP: /tmp/teste.txt UP2: teste.txtFile uploaded successfully *Warning*: fopen(teste.txt): failed to open stream: Permission denied i

[PHP-DB] file upload into mySQL

2003-12-24 Thread Hiro
hi! Sorry I send many times of my question. because I changed email address! Please see the question below; I am uploading file into mySQL database from web site. But it is unable to upload it into database. If you know how to upload the file from web site into mySQL, could you please teach me

[PHP-DB] file upload into mySQL

2003-12-24 Thread Hiro
hi! (B (B (BI am uploading file into mySQL database from web site. But it is unable to (Bupload it into database. (BIf you know how to upload the file from web site into mySQL, could you (Bplease teach me how! (B (Bthe database information is; (B (Bcreate table objects (B b_col

[PHP-DB] file upload into mySQL

2003-12-24 Thread Hiro
hi! (B (B (BI am uploading file into mySQL database from web site. But it is unable to (Bupload it into database. (BIf you know how to upload the file from web site into mySQL, could you (Bplease teach me how! (B (Bthe database information is; (B (Bcreate table objects (B b_col

[PHP-DB] file upload into mySQL

2003-12-24 Thread Hiro
hi! I am uploading file into mySQL database from web site. But it is unable to upload it into database. If you know how to upload the file from web site into mySQL, could you please teach me how! the database information is; create table objects b_col blob, name varchar(30),

[PHP-DB] file upload security issue

2003-08-14 Thread Chen, Mao
Hi everyone, I try to learn file uploading in PHP. I've successfully uploaded a file onto my server. I use move_uploaded_file("tmp_dir/tmp_filename", "destination_dir/filename") to move the temp file. The thing is that I have to do a "chmod 777 destination_dir" in order to move the file. I

RE: [PHP-DB] file upload security issue

2003-08-14 Thread Jennifer Goodie
> I try to learn file uploading in PHP. I've successfully uploaded a file > onto my server. I use move_uploaded_file("tmp_dir/tmp_filename", > "destination_dir/filename") to move the temp file. The thing is that I > have to do a "chmod 777 destination_dir" in order to move the file. Is > this

Re: [PHP-DB] File upload...

2003-07-11 Thread Hardik Doshi
Hi, Go to the Hotscripts.com and search for the File upload. You will get so many scripts.. You can use any of those. Hardik --- [EMAIL PROTECTED] wrote: > Just been asked for a 'quick' job... > A mate needs a system that can upload a file, and > place it in a specific > directory... > Via FTP

[PHP-DB] File upload...

2003-07-11 Thread Tristan . Pretty
Just been asked for a 'quick' job... A mate needs a system that can upload a file, and place it in a specific directory... Via FTP he says, but I know there's other ways Has anyone directions to a tutorial, or script, that can get this out of my inbox on this hot, stuffy Friday afternoon? C

[PHP-DB] File Upload ---Thanks!

2003-01-06 Thread J . Keith Tew
Thanks folks - persistence pays off and so does group discussions . I had chmodded the uploads directory to 777 but it was within the public_html directory with different file permissions so I guess public_html permissions were taking presidence. After reading all of your suggestions... a littl

Re: [PHP-DB] file upload array problem

2002-12-21 Thread Jason Wong
On Saturday 21 December 2002 05:25, Seabird wrote: > Hi everyone, > > every time I try to upload a picture I get the same problem in return. > First of all, it's not being uploaded (but this is for later concern I'm > afraid). Trying to display the info of the (not)uploaded file should be > done wi

[PHP-DB] file upload array problem

2002-12-20 Thread Seabird
Hi everyone, every time I try to upload a picture I get the same problem in return. First of all, it's not being uploaded (but this is for later concern I'm afraid). Trying to display the info of the (not)uploaded file should be done with: $_FILES['picture']['name'] but every time I run this the

RE: [PHP-DB] file upload and php (Not a begginer question!)

2002-10-15 Thread Rich Hutchins
ROTECTED]] Sent: Tuesday, October 15, 2002 4:42 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] file upload and php (Not a begginer question!) Hi, everyone know how to upload files from the browser to your web server using multipart-form method with move_downloaded_file() php function. But... It'

[PHP-DB] file upload and php (Not a begginer question!)

2002-10-15 Thread Baroiller Pierre-Emmanuel
Hi, everyone know how to upload files from the browser to your web server using multipart-form method with move_downloaded_file() php function. But... It's a slow method for multiple files & huge files transfert. I'm currently working on a big photo album tool, and I want to provide user the ab

[PHP-DB] File Upload

2002-03-25 Thread David McInnis
I wrote s script to upload a file. The script works, but when I point my browser to the file it downloads, but I can no longer open the file in MS Word. What is happening to my file? My client is Windows and the server is Linux. David McInnis -- PHP Database Mailing List (http://www.php.n

[PHP-DB] File Upload and MySQL

2002-03-09 Thread Carl E Shmidt
I have an admin site where users can upload files. Information about the file like file name and song name are stored in a Mysql db. Here's a snippet of code: //add the MP3 meta data to the database $mp3ID=addMP3($songName,$isStudio,$HTTP_POST_FILES['userfile']['name'],$user name,$passwor

Re: [PHP-DB] file upload, again

2001-11-13 Thread koelwebdesign
gt;; <[EMAIL PROTECTED]> Sent: Tuesday, November 13, 2001 9:43 PM Subject: Re: [PHP-DB] file upload, again > The web server user needs to have access to that directory. On NT, > there are 2 of these users. On *nix, there is one. Giving these users > access to write to that d

Re: [PHP-DB] file upload, again

2001-11-13 Thread koelwebdesign
a lot of sites) so I probably have to make an ftp connection and upload the file from there. am I right? Leo Kuiper www.koelwebdesign.nl - Original Message - From: Grant Johnson <[EMAIL PROTECTED]> To: koelwebdesign <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday,

Re: [PHP-DB] file upload, again

2001-11-13 Thread Grant Johnson
The web server user needs to have access to that directory. On NT, there are 2 of these users. On *nix, there is one. Giving these users access to write to that directory is not a huge risk. koelwebdesign wrote: >hi there, >I've searched the lists and forums for a couple of days now but nop

[PHP-DB] file upload, again

2001-11-13 Thread koelwebdesign
hi there, I've searched the lists and forums for a couple of days now but nope... when I upload a file all is well, it get stored in the tmp directory, the filename and path get stored in the mysql database, however, it won't copy to the desired directory unless I give everyone write permissions t