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.
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
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
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
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
Its pretty simple, the section in the manual has lots of detail on handling
file uploads. The file's name is accessible thru
$name = $_FILES['formFieldName']['name'];
In this case, I would also suggest that you create the name of the image to
store it on the file system..otherwise you may end
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]
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
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
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 http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: Doug Coning [mai
10 matches
Mail list logo