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
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 issu
On Tue, 2010-01-26 at 07:33 +0800, Eric Lee wrote:
> On Tue, Jan 26, 2010 at 6:41 AM, 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'] .
> >
> >
On Tue, Jan 26, 2010 at 6:41 AM, 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 I
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']."En
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/pjp
On Fri, 2009-05-01 at 12:38 -0400, Simon wrote:
> On Fri, May 1, 2009 at 9:34 AM, MikeP 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 an
On Fri, May 1, 2009 at 9:34 AM, MikeP 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
> into a DB.
Those
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" wrote in message
news:5f14cf5e0905010629s2253cc3
> Id like to use the popup file system box( />) 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
sensitive information (ie.
Hello,
Id like to use the popup file system box() 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
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
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);
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'])) {
> mo
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'
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 de
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'])) {
> mo
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 ". $_FILES['
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 c
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
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 sc
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 control
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
--
quot; <[EMAIL PROTECTED]>
To:
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
[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 thi
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?
than
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_d
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:
>
>
> SetOutputFilter PHP
> SetInputFilter PHP
> LimitRequestBody 760217600
>
>
>
> You wi
Look in /etc/httpd/conf.d/php.conf
For a buddy with a file upload need I set it to this:
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 760217600
You will need to set your upload limit higher in this file for it to work
correctly.
Robert
--
Robert Sossomon, Business and Tech
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, ph
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 gue
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, vi
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 wit
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
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
_
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:
And my configuration is :
file_uploads = on
upload_max_filesize = 4M
upload_tmp_dir = /tmp
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 60
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
>
&g
> -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 upl
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 du
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?
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, max_inp
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 !
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: h
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)"
%
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
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
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 lo
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 r
> 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 tag:
This is an instruction to the browser to r
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
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
> 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 Genera
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
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
> 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
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?
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
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 M
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
This should be very simple but it isn't working.
upload.html has this:
and
upload2.php has this:
Where is the file??
Thanks
__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
--
PHP General Mailing
In article <002a01c24474$33be4d80$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> SXMgdGhlcmUgaXMgYSB2b2x1bWUgbGltaXR0ZWQgZm9yIFBIUCB1cGxvYWQgZmlsZQ0KdXNpbmcg
> SFRUUD8NCkkgaGVhcmQgb2YgdGhlcmUgaXMgYSA4LTlNYiBsaW1pdHRlZCxpcyBpdCB0cnVlPw0K
> SXMgdGhlcmUgYSBtZXRob2QgdG8gc29sdmUgaXQ/DQo=
>
If you c
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
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?
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 confiden
> 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']))'
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 10:09 AM
>
> -- upload.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 w
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
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Saturday 06 July 2002 10:04, Norman Zhang wrote:
>>
> > 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
> > scr
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? Pl
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
--
P
> 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 e
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.
Thank You
--
Kalpin Erlangga Silaen
Kalpin is [EMAIL PROTECTED]
Kalpin is not a irc warrior
http://www.geocities.com/kalpinus
Read
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
>Su
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
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
> http:
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
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 fu
EMAIL PROTECTED]
> Subject: [PHP] 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 dire
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 li
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?
BTW: I also messed with fopen("ftp://user:pass@...";)
but fail
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?
BTW: I also messed with fopen("ftp://user:pass@...";) but fail
$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
I
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 scrip
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, 200
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 ?
Then re-read the file uploa
rote:
> > >
> > > > Hi, Johnson
> > > >
> > > > The file is located at my local WIN ME machine. The file is set to
R/W
> > > >
> > > > HK Woo
> > > > ""Johnson, Kirk"" <[EMAIL PROTECTED]> wrote in messag
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
> > > HK Woo
> > > ""Johnson, Kirk"" <[EMAIL PROTECTED]> wrote in message
> > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > > Are the permissions set OK?
> > > >
> > > > Kirk
> > > >
> >
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > Are the permissions set OK?
> > >
> > > Kirk
> > >
> > > > -Original Message-
> > > > From: HK Woo [mailto:[EMAIL PROTECTED]]
> > > > Sent: Monday, April 09, 20
CTED]...
> > 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 fi
riginal 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 u
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
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 (http://w
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
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
/www/workbox/htdocs/upload.php on line 4
Jerry Lake- [EMAIL PROTECTED]
Web Designer
Euro
, 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 Díaz E.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
1 - 100 of 101 matches
Mail list logo