Good Day,
I'm having an issue with IE8, when I go to load a file the
program is not filling the $_FILES['user_file']['type'] .
When I display echo Start.$_FILES['pix']['type'].End;
in IE8 I get StartEnd with nothing in between. I expected image/pjpeg.
On Mon, 2010-01-25 at 17:41 -0500, Ernie Kemp wrote:
Good Day,
I’m having an issue with IE8, when I go to load a file
the program is not filling the $_FILES['user_file']['type'] .
When I display “echo Start.$_FILES['pix']['type'].End;”
in IE8
On Tue, Jan 26, 2010 at 6:41 AM, Ernie Kemp ernie.k...@sympatico.ca wrote:
Good Day,
I’m having an issue with IE8, when I go to load a file the
program is not filling the $_FILES['user_file']['type'] .
When I display “echo
On Tue, 2010-01-26 at 07:33 +0800, Eric Lee wrote:
On Tue, Jan 26, 2010 at 6:41 AM, Ernie Kemp ernie.k...@sympatico.ca wrote:
Good Day,
I’m having an issue with IE8, when I go to load a file the
program is not filling the $_FILES['user_file']['type'] .
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
Sent: January-25-10 5:53 PM
To: Ernie Kemp
Cc: 'PHP General List'
Subject: Re: [PHP] Upload file on IE8
On Mon, 2010-01-25 at 17:41 -0500, Ernie Kemp wrote:
Good Day,
I’m having an issue with IE8
On Mon, 2010-01-25 at 19:21 -0500, Ernie Kemp wrote:
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
Sent: January-25-10 5:53 PM
To: Ernie Kemp
Cc: 'PHP General List'
Subject: Re: [PHP] Upload file on IE8
On Mon, 2010-01-25 at 17:41 -0500, Ernie Kemp wrote
On Fri, 2009-05-01 at 12:38 -0400, Simon wrote:
On Fri, May 1, 2009 at 9:34 AM, MikeP mpel...@princeton.edu wrote:
I'm not trying to get the path, just the filename and size, I know how to
get these, but that would include the file using $_Files, but I dont want to
upload anything just use
Hello,
Id like to use the popup file system box(input name=userfile type=file
/) to choose a file name , but I only want to upload the filename , not the
file. Can I do that?
Thanks
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Id like to use the popup file system box(input name=userfile type=file
/) to choose a file name , but I only want to upload the filename , not the
file. Can I do that?
You're not supposed to have any access to the remote visitor's
computer, and the path to the file being uploaded could contain
I'm not trying to get the path, just the filename and size, I know how to
get these, but that would include the file using $_Files, but I dont want to
upload anything just use the filename and size.(without the path) to insert
into a DB.
Simon turne...@gmail.com wrote in message
On Fri, May 1, 2009 at 9:34 AM, MikeP mpel...@princeton.edu wrote:
I'm not trying to get the path, just the filename and size, I know how to
get these, but that would include the file using $_Files, but I dont want to
upload anything just use the filename and size.(without the path) to insert
I'm trying to upload the file. It's showing me successfully uploaded.
But it's not able to move from temp directory to my defined directory
my code:
if (is_uploaded_file($_FILES['myfile']['tmp_name'])) {
move_uploaded_file($_FILES['myfile']['tmp_name'], $myfilename);
echo File .
On Thu, Jul 31, 2008 at 10:18 AM, Jignesh Thummar
[EMAIL PROTECTED] wrote:
I'm trying to upload the file. It's showing me successfully uploaded.
But it's not able to move from temp directory to my defined directory
my code:
if (is_uploaded_file($_FILES['myfile']['tmp_name'])) {
it's writable.
On Thu, Jul 31, 2008 at 3:37 PM, Eric Butera [EMAIL PROTECTED] wrote:
On Thu, Jul 31, 2008 at 10:18 AM, Jignesh Thummar
[EMAIL PROTECTED] wrote:
I'm trying to upload the file. It's showing me successfully uploaded.
But it's not able to move from temp directory to my defined
Maybe check the return value of the function:
http://us3.php.net/manual/en/function.move-uploaded-file.php
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Jignesh Thummar wrote:
I'm trying to upload the file. It's showing me successfully uploaded.
But it's
On Thu, Jul 31, 2008 at 10:18 AM, Jignesh Thummar
[EMAIL PROTECTED] wrote:
I'm trying to upload the file. It's showing me successfully uploaded.
But it's not able to move from temp directory to my defined directory
my code:
if (is_uploaded_file($_FILES['myfile']['tmp_name'])) {
Jignesh Thummar wrote:
I'm trying to upload the file. It's showing me successfully uploaded.
But it's not able to move from temp directory to my defined directory
my code:
if (is_uploaded_file($_FILES['myfile']['tmp_name'])) {
move_uploaded_file($_FILES['myfile']['tmp_name'], $myfilename);
Thanks.. It's fixed...
- Jignesh
On Thu, Jul 31, 2008 at 6:05 PM, brian [EMAIL PROTECTED] wrote:
Jignesh Thummar wrote:
I'm trying to upload the file. It's showing me successfully uploaded.
But it's not able to move from temp directory to my defined directory
my code:
if
On 4/21/07, blackwater dev [EMAIL PROTECTED] wrote:
I need to allow a user to upload a file. Once the file is up, I need to
then move it to another server and wsync it to our webclusters. What's the
best way to do this with php? I don't really want php issuing root
commands. I've considered
On Fri, April 20, 2007 5:11 pm, blackwater dev wrote:
I need to allow a user to upload a file. Once the file is up, I need
to
then move it to another server and wsync it to our webclusters.
What's the
best way to do this with php? I don't really want php issuing root
commands. I've
I need to allow a user to upload a file. Once the file is up, I need to
then move it to another server and wsync it to our webclusters. What's the
best way to do this with php? I don't really want php issuing root
commands. I've considered storing the file in the db but really need it to
be
Hi,
I would like in fact to make more precise my previous post.
I would like in fact to restrict the file extension (and therefore the user
possibility).
My user should be able only to upload files with extension JPEG, BMP, GIF.
How can i set those parameter ?
thx.
--
Alain
Alain Roger wrote:
I would like in fact to make more precise my previous post.
I would like in fact to restrict the file extension (and therefore the user
possibility).
My user should be able only to upload files with extension JPEG, BMP, GIF.
How can i set those parameter ?
You can't
PROTECTED]
To: php-general@lists.php.net
Sent: Tuesday, August 30, 2005 7:14 AM
Subject: Re: [PHP] upload file - clients path to file?
[EMAIL PROTECTED] wrote:
I havent found an answer after looking at the manual. I'm trying to find
out if it possible to find the path of the file on the clients pc
Hi all.
I havent found an answer after looking at the manual. I'm trying to find
out if it possible to find the path of the file on the clients pc once
a form has been submitted with the file upload form.
I know its possible to get the file name but I need the whole path.
is this possible?
[EMAIL PROTECTED] wrote:
I havent found an answer after looking at the manual. I'm trying to find
out if it possible to find the path of the file on the clients pc once
a form has been submitted with the file upload form.
I know its possible to get the file name but I need the whole path.
is
On Sat, July 9, 2005 1:39 am, Ahmed Abdel-Aliem said:
Hi
i have a problem with a code to upload files on server
here is the code
$f = $HTTP_POST_FILES['News_Pic'];
Use $_FILES to stay current...
$dst_file_name = generateUniqueId();
$arr = split(\.,$f['name']);
$f['name'] =
Hi
i have a problem with a code to upload files on server
here is the code
$f = $HTTP_POST_FILES['News_Pic'];
$dst_file_name = generateUniqueId();
$arr = split(\.,$f['name']);
$f['name'] = $dst_file_name;
$f['name'] .= ..$arr[count($arr)-1];
$dest_dir = 'main/pictures';
$dest = $dest_dir .
Hi,
I have created one php file for uploading the file. i
also made changes in /etc/php.ini for size limit. but
i can not upload the files greater than 5mb. Is there
any modification which has to be done in other
configuration file.
thanks in advance
santosh
Run phpinfo() to see the Configuration File (php.ini) Path.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the path is /etc/php.ini
also
upload_max_filesize 50M 50M
Waiting for reply.
--- Wudi [EMAIL PROTECTED] wrote:
Run phpinfo() to see the Configuration File
(php.ini) Path.
__
Do you Yahoo!?
Yahoo! Mail - Easier than ever with
On Mon, 31 Jan 2005 03:15:00 -0800, Badlya Badlu wrote:
the path is /etc/php.ini
also
upload_max_filesize 50M 50M
Waiting for reply.
it also depends on your webserver. I guess you are running apache2?
thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
yes
httpd-2.0.49-4
Should i upgrade it?
--- Thomas Seifert [EMAIL PROTECTED] wrote:
On Mon, 31 Jan 2005 03:15:00 -0800, Badlya Badlu
wrote:
the path is /etc/php.ini
also
upload_max_filesize 50M 50M
Waiting for reply.
it also depends on your webserver. I guess you are
badlya badlu wrote:
I have created one php file for uploading the file. i
also made changes in /etc/php.ini for size limit. but
i can not upload the files greater than 5mb. Is there
any modification which has to be done in other
configuration file.
Check your POST size limit in, errr,
Look in /etc/httpd/conf.d/php.conf
For a buddy with a file upload need I set it to this:
Files *.php
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 760217600
/Files
You will need to set your upload limit higher in this file for it to work
correctly.
Robert
--
Robert Sossomon,
thanks bobert. I have done it. thanks...
--- Robert Sossomon [EMAIL PROTECTED] wrote:
Look in /etc/httpd/conf.d/php.conf
For a buddy with a file upload need I set it to
this:
Files *.php
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 760217600
/Files
You
I got a php waring when I upload my file:
Warning: MAX_FILE_SIZE of 20 bytes exceeded - file [imgpath=mz-n10.pdf]
not saved in Unknown on line 0
In the form I write like these:
input type='hidden' name='MAX_FILE_SIZE' value=20
input type='file' name='imgpath'
And my
Hi all,
I just upgraded my server into PHP 5. I run the same script which is
working in 4.2.2.
But In PHP 5 has followings msg:
Warning: move_uploaded_file(upload_files/Gnatt.htm)
[function.move-uploaded-file]: failed to open stream: Permission
denied in /var/www/html/simple_upload.php on line
Ok, not exactly pure PHP problem but I hope someone here has seen this
before..
I'm got an upload form on a webpage, here's the code:
SNIP
?
Select the file type and browse for that file. The press 'Upload'. The
file will be uploaded to the server.
No changes in the database are done
-Original Message-
From: Jeff McKeon
Sent: Tuesday, April 20, 2004 10:21 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Upload file form
Ok, not exactly pure PHP problem but I hope someone here has
seen this before..
I'm got an upload form on a webpage, here's the code
The problem is solved.
/etc/httpd/conf.d/php.conf
the parameter LimitRequestBody is set to 524288 by default.
Jeff
-Original Message-
From: Jeff McKeon
Sent: Tuesday, April 20, 2004 10:48 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Upload file form
-Original Message
Dear list,
I'm using squirrelmail php as my webmail interface, my php.ini have the option of
upload_max_filesize = 10M
but i'm having problem for adding attachment more than 400k, where the page will hang.
is there any recommended things for me to check?
Thanks !
Ketvin wrote:
Dear list,
I'm using squirrelmail php as my webmail interface, my php.ini have the option of
upload_max_filesize = 10M
but i'm having problem for adding attachment more than 400k, where the page will hang. is there any recommended things for me to check?
post_max_size,
Marek Kilimajer wrote:
Ketvin wrote:
Dear list,
I'm using squirrelmail php as my webmail interface, my php.ini have
the option of
upload_max_filesize = 10M
but i'm having problem for adding attachment more than 400k, where
the page will hang. is there any recommended things for me to check?
As much as I try I cannot get a file field in a form inserted into a MySQL
record. I've even tried to get it to echo to the page when the page is
submitted to itself and it's not reading the field.
What am I missing here?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I would like to give the users of my web site the ability to upload video
type files, up to 12 megs in size.
I notice in my PHI.INI there is a
memory_limit =8M ; Maximum amount of memory a script may consume
(8MB)
does this include temporary such as a file being transferred?
Also I
Chris --
...and then Chris Edwards said...
%
% I would like to give the users of my web site the ability to upload video
% type files, up to 12 megs in size.
OK.
%
% I notice in my PHI.INI there is a
%
% memory_limit =8M ; Maximum amount of memory a script may consume
% (8MB)
%
%
wich kind of files are we talking about?
pictures or others?
Gerard Samuel [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
On Friday 14 November 2003 12:48 pm, joe wrote:
is there a way to check the file size
without fully uploading the file?
No there isnt, well at least
Gerard Samuel wrote:
On Friday 14 November 2003 12:48 pm, joe wrote:
is there a way to check the file size
without fully uploading the file?
No there isnt, well at least not via php...
correct. There are two solutions you can upload with a java applet, the
applet can be configured to
On Saturday 15 November 2003 02:40, Johnson, Kirk wrote:
this could really kill my bandwidth. is there a way to check
the file size
without fully uploading the file?
Although it has been called an urban legend :), you could try the old
MAX_FILE_SIZE trick.
I think you may be referring
Hi
i really need help with an upload script.
right now i use
if ($HTTP_POST_FILES['userfile']['size']$maxsize) { echo File too big;
exit; }
to determine if the file is larger than allowed.
but the problem is, that if the file IS larger, it is still first fully
uploaded and then checked. i tested
On Friday 14 November 2003 12:48 pm, joe wrote:
is there a way to check the file size
without fully uploading the file?
No there isnt, well at least not via php...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this could really kill my bandwidth. is there a way to check
the file size
without fully uploading the file?
Although it has been called an urban legend :), you could try the old
MAX_FILE_SIZE trick. For this, add a hidden tag before the input
type=file tag:
input type=hidden
I was wondering if php has a bug or is it apache, and how to determine
which it it. Every file I upload to my server, I print the file size
and it is twice the normal file size? Any idea what is going on, text
files look ok, images are all screwed up, large text files are messed
up too actually?
I am going nuts reinstalling over and over again on different computers
and keep getting this error. I am using 2.0.40 http (I know
experimental, but don't tell me that :) )
Why not? Since this is the problem. Upgrade to Apache 1.3.27 and
everything will be fine.
-Rasmus
--
PHP General
I am using PHP 4.2.1 and have noticed that I can only upload files with a
php script when I have the php.ini file set with register globals on. Is
there a way to use the file upload scripts without having to turn the
register globals on? How about newer versions of PHP?
I am using PHP 4.2.1 and have noticed that I can only upload files with a
php script when I have the php.ini file set with register globals on. Is
there a way to use the file upload scripts without having to turn the
register globals on? How about newer versions of PHP?
Yes, you'll use the
On Thursday 23 January 2003 21:20, Tyler Durdin wrote:
I am using PHP 4.2.1 and have noticed that I can only upload files with a
php script when I have the php.ini file set with register globals on. Is
there a way to use the file upload scripts without having to turn the
register globals on?
Hello guys
My problem uploading files was solved, thanks a lot to all those that
helped me in any way.
Bye
--
***
Wilmar Pérez
Network Administrator
Library System
This should be very simple but it isn't working.
upload.html has this:
form action=upload2.php method=POST
enctype=multipart/form-data
input type=file name=userfile
input type=submit name=submit value=submit
/form
and
upload2.php has this:
?php
echo(in post);
echo($_POST['userfile]);
?
Daniel Guerrier wrote:
echo($_POST['userfile]);
Do you mean $_POST[userfile] here? It looks like you're missing a quote.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks
the quote wasn't the issue.
Actually I shold have use $_FILE not $_POST .
--- Chris Shiflett [EMAIL PROTECTED] wrote:
Daniel Guerrier wrote:
echo($_POST['userfile]);
Do you mean $_POST[userfile] here? It looks like
you're missing a quote.
--
PHP General Mailing List
Is there is a volume limitted for PHP upload file
using HTTP?
I heard of there is a 8-9Mb limitted,is it true?
Is there a method to solve it?
http://www.php.net/manual/en/configuration.php#ini.memory-limit
http://www.php.net/manual/en/configuration.php#ini.post-max-size
http://www.php.net/manual/en/configuration.php#ini.upload-max-filesize
Mintbaggio wrote:
Is there is a volume limitted for PHP upload file
using HTTP?
I heard
In article 002a01c24474$33be4d80$[EMAIL PROTECTED], [EMAIL PROTECTED]
says...
SXMgdGhlcmUgaXMgYSB2b2x1bWUgbGltaXR0ZWQgZm9yIFBIUCB1cGxvYWQgZmlsZQ0KdXNpbmcg
SFRUUD8NCkkgaGVhcmQgb2YgdGhlcmUgaXMgYSA4LTlNYiBsaW1pdHRlZCxpcyBpdCB0cnVlPw0K
SXMgdGhlcmUgYSBtZXRob2QgdG8gc29sdmUgaXQ/DQo=
If you can
I have a simple script that attempts to upload a file and save it on the
server. When I click send file I get this error message 'Warning: Unable to
open '' for reading: No such file or directory in /var/www/html/upload.php
on line 5
Couldn't copy the file!'. The file is being uploaded from a Win
From: Mark Colvin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 10:09 AM
-- upload.php --
?php
if ('img1' != ) {
This will allways be true! 'img1' is a string and will never be empty.
You probably mean if($img1 != )
However, I'm not sure this will
Joakim,
Thank you for your reply. I tried your example and get 'Possible file upload
attack: filename.' meaning that 'if
(is_uploaded_file($_FILES['img1']['tmp_name']))' returns false. I put a
couple of echo statements in before the if statement to check '$img1_name'
'$img1_size and '$img1_type'
From: Mark Colvin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 12:41 PM
To: [EMAIL PROTECTED]
Joakim,
Thank you for your reply. I tried your example and get
'Possible file upload
attack: filename.' meaning that 'if
(is_uploaded_file($_FILES['img1']['tmp_name']))' returns
Joakim,
Thanks again. $HTTP_POST did the trick. I did look through the archives
before posting but didn't come across this solution. I obviously didn't look
hard enough!
This e-mail is intended for the recipient only and
may contain
Hi,
I can't seem to upload file bigger than 5M even if I set the
upload_max_filesize to 20M in php.ini and MAX_FILE_SIZE to 20M in the
script. What's am I missing here? Is the temporary upload directory won't
handle file this size? Please give me some pointers here. TIA.
Regards,
Norman
--
On Saturday 06 July 2002 10:04, Norman Zhang wrote:
Hi,
I can't seem to upload file bigger than 5M even if I set the
upload_max_filesize to 20M in php.ini and MAX_FILE_SIZE to 20M in the
script. What's am I missing here? Is the temporary upload directory won't
handle file this size? Please
Hi all,
i want ask something : How to upload files from local to server via php
?
and i want use it with browser.
Please gimme the code.
Thank You
--
Kalpin Erlangga Silaen
Kalpin is [EMAIL PROTECTED]
Kalpin is not a irc warrior
http://www.geocities.com/kalpinus
You might be new to this group, so I'm going to try not to flame you.
1. this group is not for gimmie the code -- commonly it's for focused
questions and issues.
2. this topic has been discussed on this list 1000's of times... a quick
search of the archives may in fact reveal a large chunk of
Hi all,
i want ask something : How to upload files from local to server via php
?
and i want use it with browser.
Please gimme the code.
Please give me a break. Read the manual, there is a whole chapter telling
you how to do this!
http://www.php.net/manual/en
Assuming you understand
Is that a bad word?
\ :
[EMAIL PROTECTED] wrote:
Did someone say hosting fees?
- Original Message -
From: sundogcurt [EMAIL PROTECTED]
To: GENERAL PHP LIST [EMAIL PROTECTED]
Sent: Monday, January 28, 2002 3:32 PM
Subject: Re: [PHP]Upload file to system
You could try contacting your
I want to make something like when you are attaching something to an
email in hotmail. I want to make something that searches your own
computer for files on your harddisk that you want to upload to the
server.
But I don't know if this is possible. If this is possible.Can somebody
tell me which
http://www.php.net/manual/en/features.file-upload.php
http://www.faqts.com/knowledge_base/view.phtml/aid/988
: )
[EMAIL PROTECTED] wrote:
I want to make something like when you are attaching something to an
email in hotmail. I want to make something that searches your own
computer for files on
Thnx. it's working now. But.. Howcome I can only upload files no bigger
then 100 kb? I have changed the MAX_FILE_SIZE to 10. Also, I can't
change the php.ini, coz the webserver isn't mine.. what to do now??
Sundogcurt wrote:
http://www.php.net/manual/en/features.file-upload.php
You could try contacting your server admin and seeing if he / she will
increase the limit...
That would be where I would start.
If that doesn't work, my hosting fees are quite reasonable ahah
[EMAIL PROTECTED] wrote:
Thnx. it's working now. But.. Howcome I can only upload files no bigger
Hi, I'm trying to fix upload file problems on Win 2K server. I've got the
allow directive set to on in the PHP.ini file, and the permissions set to
give everyone full access on the directory specified in the ini file. The
file never shows up. I'm using code identical to working code for a
] Upload file problems on Win 2K
Hi, I'm trying to fix upload file problems on Win 2K server.
I've got the
allow directive set to on in the PHP.ini file, and the
permissions set to
give everyone full access on the directory specified in the
ini file. The
file never shows up. I'm using
Hello list,
Simple Enough Objective: store file remotely (wu-ftp);
MinorSnag: PHP's ftp-functions unavailable at localhost;
BelowWorkaround: works fine for deleting remote file;
MajorSnag: how to STORE a file remotely using socket?
?php
$ftp=fsockopen(ftp.server.com, 21, $errno, $errstr, 60);
Hello list,
Simple Enough Objective: store file remotely (wu-ftp);
MinorSnag: PHP's ftp-functions unavailable at localhost;
BelowWorkaround: works fine for deleting remote file;
MajorSnag: how to STORE a file remotely using socket?
?php
$ftp=fsockopen(ftp.server.com, 21, $errno, $errstr, 60);
All,
I am putting together a simple upload program where an
HTML form calls a php script passing a file which is
then used to upload. I am running this locally
currently, prior to rolling out to a test server.
My problem is this. The variable $filename I am
passing from the form to the php
$imagefile contains the name of the file in the temp dir. So the name is some
mess like phpx . If you want the file you do copy() or something other.
After the script is done the file is deleted. I prefer using $HTTP_POST_VARS
do var_dump($HTTP_POST_VARS) to see debug info.
Andrey Hristov
On Monday 09 April 2001 18:35, you wrote:
Christian
Below is my script.
?
if (!copy($file,"1.dat")) {
echo "error"; }
else {
echo "successful";
}
?
NOTE: where $file is passed by other html using form.
how? using a input type='file' ?
Then re-read the
Hi Reiniger,
try this : copy(addslashes($file),"1.dat")
hope it is clear.
keyur
- Original Message -
From: "Christian Reiniger" [EMAIL PROTECTED]
To: "HK Woo" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, April 10, 2001 4:15 PM
Subject: Re: [
Hi,
I use a command "copy" to upload a file from my local win machine to
webserver. However, it is not successful. It prompts that "Warning: Unable
to open 'D:\\PHP\\upload1.php' for reading:". I would like to know what is
the problem
Thank You!
HK Woo
--
PHP General Mailing List
Are the permissions set OK?
Kirk
-Original Message-
From: HK Woo [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 9:01 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Upload file from my local C:
Hi,
I use a command "copy" to upload a file from my local w
Woo [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 9:01 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Upload file from my local C:
Hi,
I use a command "copy" to upload a file from my local win machine to
webserver. However, it is not successful. It prompts that
"
l Message-
From: HK Woo [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 9:01 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Upload file from my local C:
Hi,
I use a command "copy" to upload a file from my local win machine to
webserver. However, it is not
From: HK Woo [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 9:01 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Upload file from my local C:
Hi,
I use a command "copy" to upload a file from my local win machine to
webserver. However, it is no
On Monday 09 April 2001 17:00, you wrote:
Hi,
I use a command "copy" to upload a file from my local win machine to
webserver. However, it is not successful. It prompts that "Warning:
Unable to open 'D:\\PHP\\upload1.php' for reading:". I would like to
know what is the problem
show us some
al Message-
From: HK Woo [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 9:01 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Upload file from my local C:
Hi,
I use a command "copy" to upload a file from my local win
machine to
On Mon, Mar 12, 2001 at 10:08:57AM -0800, Jerry Lake wrote:
copy($userfile, "/www/workbox/htdocs/audio");
I keep getting the following error. the directory exists and is chmoded to
777, what am I doing wrong ?
Warning: Unable to create '/www/workbox/htdocs/audio': Is a directory in
Using this code
snip
?php
if (is_uploaded_file($userfile)) {
echo $userfile;
copy($userfile, "/www/workbox/htdocs/audio");
} else {
echo "Possible file upload attack: filename '$userfile'.";
}
?
/snip
I keep getting the following error. the directory exists and is chmoded to
Hello
I need to do upload a file, I have problem with instruction copy(?,?);
When it copy the file, just copy to tmp, and it change the name.
Marisol Daz E.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
, February 10, 2001 6:21 PM
To: PHP General
Subject: [PHP] upload file
Hello
I need to do upload a file, I have problem with instruction copy(?,?);
When it copy the file, just copy to tmp, and it change the name.
Marisol Daz E.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
99 matches
Mail list logo