On Aug 3, 2009, at 7:04 AM, seb wrote:
Hey all,
i am using move_upload function to upload files to the server, but i
want to add a feature that will allow files to be archived that have
been uploaded already.
so, the problem is:
i upload a file that i want to "upgrade" and move the
you might need to resolve to Java applet or other means to select more than
one files at same time. The following is an example:
http://barleypop.vrac.iastate.edu/BarleyBase/test/upload/version_05/Upload.php
yours,
xin
- Original Message -
From: "Vail, Warren" <[EMAIL PROTECTED]>
To: <
Vail, Warren wrote:
Perhaps this is more about HTML than PHP, but the PHP $_FILES var seems to
be set up to allow a list of files to be uploaded. How does one get the
pop-up window to allow a user to select (ctrl-click or whatever) multiple
files in the same pop-up window? Everything I have tried
Hi,
You recommend to allocate post id when "Compose mail" pressed and set
draft(boolean) = true. Than I can attach files one by one linking them to
post_id in DB.
This approach is better than mine, I think, as files will be already linked
to post_id in DB and if post will never be submitted prune
Hi Igor,
The approach taken by yahoo etc is the most popular. In your case you
will just need to enter the message in it's entirity in the database as
you normally would but perhaps mark it as a draft so that it does not
become visible.
SHAMLESS PLUG: alternatively you can use rad upload at
ht
On Saturday 25 January 2003 06:34, Andrew Rench wrote:
> When you say you need to include a filename, do you mean the
> $_FILES['userfile']['tmp_name'] or the variable name identified in the
> input tag? (name="userfile")
ANY filename which makes sense to you, so most likely the latter.
--
Jason
When you say you need to include a filename, do you mean the
$_FILES['userfile']['tmp_name'] or
the variable name identified in the input tag? (name="userfile")
--- Mark Heintz PHP Mailing Lists <[EMAIL PROTECTED]> wrote:
>
> You have to include a filename along with the path when you're using
>
You have to include a filename along with the path when you're using
move_uploaded_file(); if you're only specifying
'/usr/local/etc/httpd/htdocs/blast/images' as your destination string, php
is trying to create a file named 'images' in
'/usr/local/etc/httpd/htdocs/blast'. If there's still a prob
thanks for the advice- this makes sense as to why I'm not seeing the file. I added the
move_uploaded_file() to the script to see what happens and I end up getting the
following error:
PHP Warning: Unable to move '/var/tmp/phpfcwVyC' to
'/usr/local/etc/httpd/htdocs/blast/images' in
/usr/local/etc/
> -Original Message-
> From: Andrew Rench [mailto:[EMAIL PROTECTED]]
> Sent: 24 January 2003 17:05
>
> the following code:
>
>
>
> ="post">
>
> Send this file:
>
>
> echo $_FILES['userfile']['tmp_name'];
> ?>
>
>
>
> produces the following after upload:
>
> /var/tmp/phplSTEVp
This may just be me but I've never gotten upload to work where
the form is posting to the same page, try moving it to two pages.
On Fri, 2003-01-24 at 12:05, Andrew Rench wrote:
the following code:
" method
="post">
That's a browser/image type issue. If you're trying it with a JPEG image (as the
message title suggests) then it's a browser issue -- your browser doesn't handle
JPEG files due to local settings, and starts up the paint program instead. If
you're trying with some other image type (such as TIFF for
Yes. Refer to PHP Manual. There is description for that.
--
Yasuo Ohgaki
"Joe Stump" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm in the habit of putting all my form variables into an array (ie:
> )
so
> that I have a nice little package to pass to fun
Joe Stump wrote:
>
> I'm in the habit of putting all my form variables into an array (ie:
> ) so
> that I have a nice little package to pass to functions. My question is can you
> put files into those as well? If so how does it handle the $file_name and
> $file_size variables PHP creates?
>
> --
14 matches
Mail list logo