Re: [PHP-DB] upload images

2010-05-31 Thread 3dgtech
It could work, but be careful using timestamp or the php equivalent - microtime since this is reliant on gettimeofday(). If naming conventions don't mandate a sterilized format I woul still recommend using a confirmed new variable. Just my two cents :-) Eli On May 30, 2010, at 10:04 PM,

Re: [PHP-DB] upload images

2010-05-31 Thread Karl DeSaulniers
You are probably right. The use of the $i and say photo_.$i..jpg would work better. and change.. :) Karl On May 31, 2010, at 2:27 AM, 3dgtech wrote: It could work, but be careful using timestamp or the php equivalent - microtime since this is reliant on gettimeofday(). If naming

Re: [PHP-DB] upload images

2010-05-31 Thread Karl DeSaulniers
Good to hear. Karl Sent from losPhone On May 31, 2010, at 2:41 PM, Emiliano Boragina emiliano.borag...@gmail.com wrote: Thanks a lot... this last solution is the best for me... thanks a lot to all!!! 2010/5/31 Karl DeSaulniers k...@designdrumm.com You are probably right. The use of the

[PHP-DB] upload images

2010-05-30 Thread Emiliano Boragina
Hello, I want to do an Admin to upload more than one picture per clic, I must can upload one or more Pictures. This I know how is it... but I want rename each picture, not with , for example, 001 but with some function, some... thing that rename the file. I am using this:

Re: [PHP-DB] upload images

2010-05-30 Thread Karl DeSaulniers
Try this Try assigning time() to a variable then add that to the rename. EG: if ($_FILES['foto']['type'] == image/jpeg || $_FILES['foto']['type'] == image/pjpeg){ //nombre de la imagen $timestamp = time(); //movemos la

Re: [PHP-DB] upload images

2010-05-30 Thread 3dgtech
The problem with time() is that fast servers are too fast! (you will have processed multiple files before time() changes.) Add the $i from the for loop in multiple images to the end of your filename. On May 30, 2010, at 4:33 PM, Karl DeSaulniers k...@designdrumm.com wrote: Try this Try

Re: [PHP-DB] upload multiple files and rename wih time()

2010-02-07 Thread Chris
Emiliano Boragina wrote: Hello php fellows, I have two codes to upload multiple files, works very well, but I cant rename the files... really i dont know... The code looks ok. Do you get an error message? If not, turn up error_reporting and enable display_errors:

[PHP-DB] upload multiple files and rename wih time()

2010-02-06 Thread Emiliano Boragina
Hello php fellows, I have two codes to upload multiple files, works very well, but I cant rename the files... really i dont know... CODE1: $uploadfile = $uploaddir . basename($_FILES[fotog][name][$key]); if (is_uploaded_file($_FILES['fotog']['tmp_name'][$key])) {

Re: [PHP-DB] upload file

2008-07-05 Thread Bastien Koert
On Fri, Jul 4, 2008 at 11:35 PM, Ron [EMAIL PROTECTED] wrote: Hi, I dont know if this question is allowed here: i have a web interface that let's user upload file, but i have 2 servers and use dns round-robin. when a user uploads a file, it will only be uploaded on one of the servers.

Re: [PHP-DB] upload file

2008-07-05 Thread Ron
Hi Sir, Is it possible to upload directly on a remote server using php file upload? so that i will have everything on the remote server instead of in the local server? regards, ron On Sat, 5 Jul 2008 10:55:48 -0400, Bastien Koert wrote On Fri, Jul 4, 2008 at 11:35 PM, Ron [EMAIL PROTECTED]

Re: [PHP-DB] upload file

2008-07-05 Thread Roberto Carlos García Luís
Ron, You can use a Editor that have the service. For example Dreamweaver or create a link to a ftp server. El 05/07/2008, a las 10:52 a.m., Ron escribió: Is it possible to upload directly on a remote server using php file upload? so that i will have everything on the remote server instead

Re: [PHP-DB] upload file

2008-07-05 Thread Bastien Koert
On Sat, Jul 5, 2008 at 5:50 PM, Roberto Carlos García Luís [EMAIL PROTECTED] wrote: Ron, You can use a Editor that have the service. For example Dreamweaver or create a link to a ftp server. El 05/07/2008, a las 10:52 a.m., Ron escribió: Is it possible to upload directly on a remote

[PHP-DB] upload file

2008-07-04 Thread Ron
Hi, I dont know if this question is allowed here: i have a web interface that let's user upload file, but i have 2 servers and use dns round-robin. when a user uploads a file, it will only be uploaded on one of the servers. how can i make sure that when a file is uploaded on one server it

Re: [PHP-DB] upload file [heur]

2008-07-04 Thread Chris Verges
Hey Ron, One method that I've used in the past is to dedicate one server based on some kind of hashing algorithm (username?) to be the upload server. That server should have a unique DNS entry (www2.domain.ext) which all URLs that need upload processing refer to. The other way to do it is to

[PHP-DB] Upload images with minimun effort from final user

2005-09-26 Thread David Arroyo
Hi @ll, I have to make an interface for a newspaper site, where users can upload news including images. I want to store the image's name in a field of my NEWS table, in order to catch it with an img tag later, but I don't want people has to upload the image, remember its name, and put it as

RE: [PHP-DB] Upload images with minimun effort from final user

2005-09-26 Thread Bastien Koert
up with N number of files with the same name (ie mycat.jpg). By associating another randomly generated name with the image as the true name, you should avoid that issue... Bastien From: David Arroyo [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] Upload images with minimun

Re: [PHP-DB] Upload and Display images with Mysql

2004-05-24 Thread Rachel Rodriguez
--- Kpromos [EMAIL PROTECTED] wrote: Dears All, I'm looking for a simple script that will permitme to upload images in a mysql database, calling out the images with a function from a mysql database (calling them from an id variable). I have just tried this tutorial

[PHP-DB] upload files into MySQL database

2004-05-11 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Hello, I have problem for downloading files from MySQL database. Although I store and I see the filename and the extension in the database, when I try to download it, if there are blank spaces inside the filename, like my book store.doc I cannot open it and see it. Best regards Stelios Karapas

Re: [PHP-DB] upload files into MySQL database

2004-05-11 Thread John W. Holmes
From: PHPDiscuss - PHP Newsgroups and mailing lists [EMAIL PROTECTED] I have problem for downloading files from MySQL database. Although I store and I see the filename and the extension in the database, when I try to download it, if there are blank spaces inside the filename, like my book

[PHP-DB] Upload / Load Image File to MySQL

2004-03-28 Thread Wijaya
Need help / example how to upload / load image file to MySQL Thank's Wijaya __ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP-DB] upload binary into postgres

2004-02-09 Thread Hiro
Hi! I would like to upload binary data into the PorstgreSQL. Does anyone know how to upload the code? I do not want to use OID. I want to insert binary direct into table. I create table field bytea. Is it correct? Pelase teach me how! regards, hiri -- PHP Database Mailing List

[PHP-DB] Upload multiple files?

2003-08-29 Thread Chris Payne
Hi there everyone, I have created a newsletter system where you can do lots of nice things, one of the things is to be able to upload your images for the newsletter via the interface, unfortunately you have to do them 1 at a time. Is it possible to be able to select multiple images in 1 go?

RE: [PHP-DB] Upload multiple files?

2003-08-29 Thread Aaron Wolski
to the server and the filename info to the DB. Rather simplistic I know but it's a solution. HTH Aaron -Original Message- From: Chris Payne [mailto:[EMAIL PROTECTED] Sent: August 29, 2003 5:38 PM To: php Subject: [PHP-DB] Upload multiple files? Hi there everyone, I have created

Re: [PHP-DB] Upload multiple files?

2003-08-29 Thread Chris Payne
the array.. copying the file to the server and the filename info to the DB. Rather simplistic I know but it's a solution. HTH Aaron -Original Message- From: Chris Payne [mailto:[EMAIL PROTECTED] Sent: August 29, 2003 5:38 PM To: php Subject: [PHP-DB] Upload multiple files

RE: [PHP-DB] Upload multiple files?

2003-08-29 Thread Aaron Wolski
that! You got options. Just a matter of how much time you wanna invest ;) Aaron -Original Message- From: Chris Payne [mailto:[EMAIL PROTECTED] Sent: August 29, 2003 5:45 PM To: php Subject: Re: [PHP-DB] Upload multiple files? Hi there, U you know what they say, keep

Re: [PHP-DB] Upload multiple files?

2003-08-29 Thread colbey
Very simple... Call you files being uplaoded file1, file2, fileX in the HTML form.. [html] form method=post action=uploadprocess.php enctype=multipart/form-data input type=file name=file1 size=20 input type=file name=file2 size=20 input type=file name=file3 size=20 input type=submit name=submit

[PHP-DB] upload again

2003-02-12 Thread Ryan Holowaychuk
I have an upload set up, and now I need to do another one that will go to an other server. I can find how I can get the script to login to another server with a user and pass if needed and then carry on and send the file. This is what I have for a local one now $copied1 =

[PHP-DB] upload time out

2003-01-29 Thread Ryan Holowaychuk
I have an upload page on my website, and when I do large files via this process, system times out. Are there some setting that I need to tweek to allow this process to finish, so if some one was to send a 10 meg file it will go through. Right now it will not even copy any part of the file.

RE: [PHP-DB] upload time out

2003-01-29 Thread Hutchins, Richard
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 1:58 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] upload time out I have an upload page on my website, and when I do large files via this process, system times out. Are there some setting that I need to tweek to allow this process

Re: [PHP-DB] upload time out

2003-01-29 Thread Jason Wong
On Thursday 30 January 2003 04:39, Ryan Holowaychuk wrote: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4000 bytes) in Unknown on line 0 I have gone in and made some changes to allow the file upload larger files. I have gone in as well and turned on the

[PHP-DB] Upload Images...

2002-12-27 Thread Doug Coning
Hi All, I've got a question about creating an Update page. I have an update page that has a form with about 15 fields in it that update records in my MySQL database. One of the fields is an IMAGE field that stores an image name. I want to this PHP page to do several things: 1) edit and update

RE: [PHP-DB] Upload Images...

2002-12-27 Thread Boaz Yahav
[mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 9:09 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Upload Images... Hi All, I've got a question about creating an Update page. I have an update page that has a form with about 15 fields in it that update records in my MySQL database. One

Re: [PHP-DB] Upload Images...

2002-12-27 Thread Doug Coning
- From: Doug Coning [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 9:09 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Upload Images... Hi All, I've got a question about creating an Update page. I have an update page that has a form with about 15 fields in it that update records

RE: [PHP-DB] Upload Images...

2002-12-27 Thread Aaron Wolski
Message- From: Doug Coning [mailto:[EMAIL PROTECTED]] Sent: December 27, 2002 3:29 PM To: Boaz Yahav; [EMAIL PROTECTED] Subject: Re: [PHP-DB] Upload Images... Yes, but do you know where I can find a sample of merging the upload script with the Update script? Thanks!!! Doug - Original

RE: [PHP-DB] Upload Images...

2002-12-27 Thread Boaz Yahav
, 2002 10:29 PM To: Boaz Yahav; [EMAIL PROTECTED] Subject: Re: [PHP-DB] Upload Images... Yes, but do you know where I can find a sample of merging the upload script with the Update script? Thanks!!! Doug - Original Message - From: Boaz Yahav [EMAIL PROTECTED] To: Doug Coning [EMAIL

Re: [PHP-DB] upload data to MySql

2002-11-14 Thread Coert Metz
Hi Never forget to include enctype=multipart/form-data into your formtag Bye Coert Jason Wong wrote: On Thursday 14 November 2002 04:47, Seabird wrote: Hi everyone, I don't get my upload to work properly. It's a tutorial of the web, but it doesn't function (unless I made a mistake). HOW

Re: [PHP-DB] upload data to MySql

2002-11-14 Thread Anthony
it more helpful for file uploads. Hope this helps. Cheers, G :) - Original Message - From: Seabird [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 13, 2002 8:47 PM Subject: [PHP-DB] upload data to MySql Hi everyone, I don't get my upload to work properly. It's

[PHP-DB] upload data to MySql

2002-11-13 Thread Seabird
Hi everyone, I don't get my upload to work properly. It's a tutorial of the web, but it doesn't function (unless I made a mistake). Please help me... I have a form passing on 5 fields (text for testing), name: year, make, model, price, picture and submit to PHP_SELF ?php if ($submit) { $db =

Re: [PHP-DB] upload data to MySql

2002-11-13 Thread Boa Constructor
: [PHP-DB] upload data to MySql Hi everyone, I don't get my upload to work properly. It's a tutorial of the web, but it doesn't function (unless I made a mistake). Please help me... I have a form passing on 5 fields (text for testing), name: year, make, model, price, picture and submit

Re: [PHP-DB] upload data to MySql

2002-11-13 Thread Jason Wong
On Thursday 14 November 2002 04:47, Seabird wrote: Hi everyone, I don't get my upload to work properly. It's a tutorial of the web, but it doesn't function (unless I made a mistake). HOW doesn't it function? Please help me... You have to provide more information, like what you see when

[PHP-DB] upload script filename checking

2002-10-14 Thread Michael Knauf/Niles
Ok, so I've got a simple upload script... User uses form to select a file, the file is then uploaded to a dir on the web server, and a link is provided for the user to view the file. Of course when the user uploads my pic.jpg the resulting link is broken (because of the space)... so I want to

Re: [PHP-DB] upload script filename checking

2002-10-14 Thread Bas Jobsen
Op maandag 14 oktober 2002 15:41, schreef Michael Knauf/Niles: (because of the space)... so I want to replace any occurrence of with _ $filename=str_replace(' ','_',$filename); -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] Upload csv file into mysql

2002-09-04 Thread rhelms
Hi Dr. Indera, Is there a way to upload data in a csv file into a mysql table? Try phpMyadmin. Regards, Ruprecht --- Ruprecht Helms - IT-Service und Softwareentwicklung Homepage: http://www.rheyn.de email: [EMAIL

Re: [PHP-DB] Upload csv file into mysql

2002-09-04 Thread Ignatius Reilly
: Wednesday, September 04, 2002 6:20 AM Subject: [PHP-DB] Upload csv file into mysql Hello, Is there a way to upload data in a csv file into a mysql table? Thanks Indera -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database

RE: [PHP-DB] Upload csv file into mysql

2002-09-04 Thread Karel
, s.r.o.-www.abianet.cz--- -Original Message- From: Ignatius Reilly [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 9:51 AM To: [EMAIL PROTECTED]; Dr. Indera Subject: Re: [PHP-DB] Upload csv file into mysql Hi Dr, try: LOAD DATA INFILE myfile.csv INTO TABLE

Re: [PHP-DB] Upload csv file into mysql

2002-09-04 Thread Ignatius Reilly
Message - From: Karel Pøíbramský [EMAIL PROTECTED] To: Ignatius Reilly [EMAIL PROTECTED]; [EMAIL PROTECTED]; Dr. Indera [EMAIL PROTECTED] Sent: Wednesday, September 04, 2002 10:33 AM Subject: RE: [PHP-DB] Upload csv file into mysql Hi this is very helpful to me what if i have TABLE (id_item

[PHP-DB] Upload csv file into mysql

2002-09-03 Thread Dr. Indera
Hello, Is there a way to upload data in a csv file into a mysql table? Thanks Indera -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] Upload csv file into mysql

2002-09-03 Thread Beau Lebens
try phpMyAdmin - nice and easy, although i'm pretty sure there is a direct command line. // -Original Message- // From: Dr. Indera [mailto:[EMAIL PROTECTED]] // Sent: Wednesday, 4 September 2002 12:21 PM // To: [EMAIL PROTECTED] // Subject: [PHP-DB] Upload csv file into mysql

[PHP-DB]upload image

2002-05-17 Thread Nikolay Valentinov
i have problem with image upload on freeBSD server. My question is: what must be address, where to upload file? i use $uploadpath = $DOCUMENT_ROOT.'/xxx/photos/' this works on Apache/Win98. Where is the problem? excuse me for my english :) Thanx! -- PHP Database Mailing List

[PHP-DB] Upload Multiple Images

2002-04-11 Thread Brandon Paul
Hi all...kinda new to PHP and MySQL...anyhow, I have created the following table: CREATE TABLE images ( id smallint(6) NOT NULL auto_increment, image_title varchar(75) default NULL, image_src varchar(150) default NULL, PRIMARY KEY (id) ) TYPE=MyISAM; I have also created a form that

RE: [PHP-DB] Upload Multiple Images

2002-04-11 Thread Beau Lebens
, then their total must not exceed 3meg (i think) HTH Beau // -Original Message- // From: Brandon Paul [mailto:[EMAIL PROTECTED]] // Sent: Friday, 12 April 2002 6:06 AM // To: [EMAIL PROTECTED] // Subject: [PHP-DB] Upload Multiple Images // // // Hi all...kinda new to PHP and MySQL...anyhow, I have

[PHP-DB] Upload

2001-11-16 Thread Lilian Salazar
Hi, Exists some component that allows to do upload from archives to the Web server? Where it could find it? Somebody knows? The ideal would be that it served so much for Apache as for IIS. The Database is Oracle 8i Thank you very much. -- Saludos, Lilian

RE: [PHP-DB] Upload

2001-11-16 Thread Jonathan Hilgeman
); ? --- - Jonathan -Original Message- From: Lilian Salazar [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001 8:09 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] Upload Hi, Exists some component that allows to do upload from archives to the Web server? Where

RE: [PHP-DB] Upload

2001-11-16 Thread matt stewart
'; [EMAIL PROTECTED] Subject: RE: [PHP-DB] Upload Hola Lilian, You might want to check http://phpclasses.upperdesign.com and search for upload. - BUT - I have found it much easier and simpler to just to use my own code when doing uploads. It is really simple, since most of the work is done

Re[2]: [PHP-DB] Upload

2001-11-16 Thread Lilian Salazar
! otherwise people might do nasty things to matt your server! matt -Original Message- matt From: Jonathan Hilgeman [mailto:[EMAIL PROTECTED]] matt Sent: 16 November 2001 16:29 matt To: 'Lilian Salazar'; [EMAIL PROTECTED] matt Subject: RE: [PHP-DB] Upload matt Hola Lilian, matt You might want

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

2001-07-13 Thread Steve Brett
Xsarus Internetdiensten Holland [EMAIL PROTECTED] - Original Message - From: Andre P. [EMAIL PROTECTED] To: Steve Brett [EMAIL PROTECTED] Cc: php-db@lists. php. net (E-mail) [EMAIL PROTECTED] Sent: Monday, June 25, 2001 6:17 AM Subject: Re: [PHP-DB] upload problem ... Steve,

RE: [PHP-DB] upload problem ...

2001-07-13 Thread Darren Casey
-Original Message- From: Steve Brett [mailto:[EMAIL PROTECTED]] Sent: 13 July 2001 11:05 To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] upload problem ... many thanks i'll try that asap. The directorys will still need the permissions set so anyone can read/write to the directorys

[PHP-DB] UPLOAD

2001-07-06 Thread Enrico Comini
My problem is to browse a local pc (win) and upload a file in a remote database. There is a simple solution (js ie)? Thanks, Enrico

[PHP-DB] UPLOAD

2001-06-29 Thread Enrico Comini
My problem is to browse a local pc (win) and upload a file in a remote database. There is a simple solution ? Thanks, Enrico

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

2001-06-26 Thread Xsarus Internetdiensten
: Monday, June 25, 2001 6:17 AM Subject: Re: [PHP-DB] upload problem ... Steve, When you use input type=file the web server uploads the file to a temporary directory which it must have write access to, i.e. the user that the httpd process is run as must have write access to /php/tmp. To my

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

2001-06-25 Thread Andre P.
Steve, When you use input type=file the web server uploads the file to a temporary directory which it must have write access to, i.e. the user that the httpd process is run as must have write access to /php/tmp. To my knowledge there is no way of allowing the httpd process to write to that