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 > wrote: Thanks a lot... this last solution is the best for me... thanks a lot to all!!! 2010/5/31 Karl DeSaulniers You are probably right. The use of the $i and say "photo_".$i.".jpg" would work better.

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 conv

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

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 wrote: Try this Try assigning time() to

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 i

[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: if(isset($_POST['submit

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: error_reporting(E_ALL);

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

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

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 sto

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

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

2005-09-26 Thread Bastien Koert
em..otherwise you may end 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: Subject: [PHP-DB] Upl

[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 tag later, but I don't want people has to upload the image, remember its name, and put it as anoth

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 > http://www.ph

[PHP-DB] Upload and Display images with Mysql

2004-05-24 Thread Kpromos
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 http://www.phpbuilder.com/columns/florian19991014.php3 but it seem

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

[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

[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: http:

[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 (http://www.

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] [/html] Then process with code like this: [code] $STARTFILE = 1; $ONFILE = "file" . $STARTFILE; while (isset($HTTP_POST_FILES["$ONFILE"])) { // Try! $SrcPathFile = $HTTP_POST_FILES["$ONFILE"]

RE: [PHP-DB] Upload multiple files?

2003-08-29 Thread Aaron Wolski
x27;s 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, > > Um

Re: [PHP-DB] Upload multiple files?

2003-08-29 Thread Chris Payne
] to make it an array. > > Then just loop through 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 [mai

RE: [PHP-DB] Upload multiple files?

2003-08-29 Thread Aaron Wolski
o 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 ther

[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? T

[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 = "/location/on/server/

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

RE: [PHP-DB] upload time out

2003-01-29 Thread Ryan Holowaychuk
-Original Message- From: Hutchins, Richard [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 11:00 AM To: 'Ryan Holowaychuk'; [EMAIL PROTECTED] Subject: RE: [PHP-DB] upload time out Yeah, it's a configuration directive, check here: http://www.ph

RE: [PHP-DB] upload time out

2003-01-29 Thread Hutchins, Richard
rom: Ryan Holowaychuk [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

[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. Tha

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

2002-12-27 Thread Boaz Yahav
er 27, 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]

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

2002-12-27 Thread Aaron Wolski
ginal 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 - Ori

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

2002-12-27 Thread Doug Coning
December 27, 2002 1:09 PM Subject: RE: [PHP-DB] Upload Images... > I'm guessing it's better for the people that will use this page to have > it all in one page > but less convenient for you to develop it like that :) > > Sincerely > > berber > > Visit h

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

2002-12-27 Thread Boaz Yahav
oug 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 in my MySQL da

[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 data to MySql

2002-11-14 Thread Anthony
ou wish to store it. You also will have to chmod 777 to the directory you wish to copy the file to. It may help if we can see the tutorial to try and find out exactly what you are doing. I've been working from "Build Your Own Database Driven Website Using PHP & MySQL" By Kevi

Re: [PHP-DB] upload data to MySql

2002-11-14 Thread Anthony
ou wish to store it. You also will have to chmod 777 to the directory you wish to copy the file to. It may help if we can see the tutorial to try and find out exactly what you are doing. I've been working from "Build Your Own Database Driven Website Using PHP & MySQL" By Kevi

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). HO

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 whe

Re: [PHP-DB] upload data to MySql

2002-11-13 Thread Boa Constructor
[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 a tutorial of the web, but it > doesn't function (unless I made a mistake). Please help me... > I ha

[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 \n"; echo "make: $make\n"; ech

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

[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 csv file into mysql

2002-09-04 Thread Ignatius Reilly
LOAD statement HTH Ignatius - Original 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:

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&

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

2002-09-04 Thread Ignatius Reilly
lt;[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 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 Da

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 PRO

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

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

2002-05-17 Thread Gerardo Morales
Nikolay We have a frebsd server and the path i use to upload files (in this case images) is $the_path = "/usr/local/etc/httpd/htdocs/site/images"; and it works fine. I found a good code in phpbuilder.com Nikolay Valentinov wrote: > i have problem with image upload on freeBSD server. > My q

[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 (http://www.php.n

RE: [PHP-DB] Upload Multiple Images

2002-04-11 Thread Beau Lebens
) 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 created // the following // table: // //

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

Re[2]: [PHP-DB] Upload

2001-11-16 Thread Lilian Salazar
e safe! 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

RE: [PHP-DB] Upload

2001-11-16 Thread matt stewart
lazar'; [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

RE: [PHP-DB] Upload

2001-11-16 Thread Jonathan Hilgeman
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 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

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

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

2001-07-13 Thread comp.mail.sendmail
"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 ... &g

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

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

2001-07-13 Thread Steve Brett
x27;, but 'move_uploaded_file'. > > Ready... > Daniel Kieviet > Xsarus Internetdiensten > Holland > [EMAIL PROTECTED] > > > - Original Message - > From: "Andre P." <[EMAIL PROTECTED]> > To: "Steve Brett" <[EMAIL PROTECTED]>

[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
TECTED]> 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, > > When you use input type=file the web server uploads the file to a > temporary directory which it must have write acces

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

2001-06-25 Thread Andreas D. Landmark
At 25.06.2001 09:41, you wrote: >hi, > >i have a site and need to write a script to upload / download files so the >database can be updated / backed up. > >i've tried setting up an machine but php gives an eror onthe server saying that the /php/tmp dir >cannot be written to by, i assume, the nobo

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 di